Cloudflare proxy changing POST to GET?


We are proxying connections to and to our server in china.
It seems that POST requests are converted into GET requests. With some digging this seems to be related with 301/302 redirection. If this is the case is there way to change proxy rules in our DNS? Or am I on the wrong track here?

We noticed this first when our logins would fail. Then I tried doing a POST request with postman to our login path and got a response:

Cannot GET /v2/users/me/login

Additionally I tried a straight GET request, and it would pass normally. Any ideas on this?

A 301 will always turn into a GET. That is not Cloudflare, that is your browser. You need to avoid the redirect.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.