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•14mo ago
I feel dumb, sorry, please try the new prerelease in the PR instead.
Ethernal
Ethernal•14mo 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•14mo ago
It'll be in the same comment, the workflow just edits the comment with the latest link 🙂
Ethernal
Ethernal•14mo ago
Oh ok, thank you Works as intended now, appreciate the swift response
James
James•14mo ago
Glad to hear! 😄
Want results from more Discord servers?
Add your server