flask returns 400 on post request from postman flask returns 400 on post request from postman flask flask

flask returns 400 on post request from postman


The working request from your web form has a Content-Type header with value application/x-www-form-urlencoded.

Your screenshot shows that Postman is using form-data:

Postman

Try selecting application/x-www-form-urlencoded.