Disable redirect for POST calls

I am running tyk 2.4.1 gateway docker container. All GET calls return proper response but POST calls return redirect link:
You should be redirected automatically to target URL: http://mywebsite.com/endpoint. If not click the link.

Is there an option to turn off redirect links and provide exact response from the endpoint?

Hi, can you provide a sample request/response?

I figured it out. The problem is in Flaskā€™s trailing slash bug which tend to return redirects if there is no trailing slash at the end of the endpoint.