Hello, I’m a student and I’ve just started with the POSTMAN application. I’m trying to set up a python server using Flask so that I can create an API to share the results of home automation experiments (e.g. arduino).
Unfortunately I have a problem with my POST request, I don’t want to use JSON formats but “x-www-form-urlencoder”. When I send the request I get an error 405 “METHOD NOT ALLOWED”.
really don’t understand where this problem can come from as my GET request is working properly (I’m sure it’s a stupid mistake …) .
It would be really great if one of you could unblock me!
I am enclosing the different elements of my problem.
— Python - Flask script —
— Postman GET query —
— Postman Post query —
Thank you in advance!