We are facing issue with http redirects for the POST method for our API endpoint which migrated to cloudflare.
We were using nginx ingress to handle the http redirects to https and it responds with 308 status response code. We were testing the POST http method using http and https both for the api URL.
Now after migrate to cloudflare, we are getting 301 status response code for http redirects to https. hence we are not able to run POST http method and it getting changed to GET method. so now we can only access with https not http.
Using http with POST method is not working for the API URL which we migrated to cloudflare. How to achieve this ?
We need to use http and https to access the API using POST HTTP method.