How do I avoid rewritten URLS only accepting GET requests
I've recently deployed a NextJS site while using the URL Rewrites to proxy
/api/:path
to api.<domain>/:path
, However one thing I've noticed is that when sending POST
requests it gets swapped with a GET
request, breaking most of the data fetching routes (Assuming use of GraphQL), How do I avoid this behavior?
API in images is provided via Express![](https://cdn.answeroverflow.com/1132755217402834964/image.png)
![](https://cdn.answeroverflow.com/1132755217788698624/image.png)
5 Replies
I feel dumb, sorry, please try the new prerelease in the PR instead.
No worries, Also how do I access the new prerelease? The only prereleases available for testing that I can find are from yesterday
It'll be in the same comment, the workflow just edits the comment with the latest link 🙂
Oh ok, thank you
Works as intended now, appreciate the swift response
Glad to hear! 😄