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
5 Replies
James
James•2y ago
I feel dumb, sorry, please try the new prerelease in the PR instead.
Ethernal
EthernalOP•2y ago
No worries, Also how do I access the new prerelease? The only prereleases available for testing that I can find are from yesterday
James
James•2y ago
It'll be in the same comment, the workflow just edits the comment with the latest link 🙂
Ethernal
EthernalOP•2y ago
Oh ok, thank you Works as intended now, appreciate the swift response
James
James•2y ago
Glad to hear! 😄
Want results from more Discord servers?
Add your server