I am using Cloudflare as a reverse proxy for a suite of restful API endpoints. All of my GET endpoints are working flawlessly, but all of my other endpoints (POST, PUT etc) are being changed to GET, and my API is throwing a 405 method not allowed.
How do I configure Cloudflare to keep the HTTP method intact when calling an API? I’ve added a page rule to bypass the cache, but the method is still coming across as a GET.
Any help is appreciated –