Cannot make POST request

Connected Tutorial
This question is a follow-up to this tutorial:

I followed the exact same steps as mentioned in the tutorial. GET requests work both on browser and Postman but when I make a POST request using Postman it says method not allowed although I have defined a route for POST request in my flask app.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

What I could suggest is checking your Nginx error log for some more information on what the problem could be caused by:

tail -100 /var/log/nginx/error.log

Another thing that I could suggest is, if you have a domain name with an SSL certificate, make sure that you specify https:// in Postman as if you have a HTTP to HTTPS redirect it could cause that problem that you are seeing.

Regards, Bobby