mardi 22 décembre 2020

Flask POST method from browser

I am using following curl command to perform a POST method of a FLASK REST service.

curl -u az:abc_123 -i -H "Content-Type: application/json" -X POST -d '{"filename":"Pattern.json"}' http:/localhost:5300/hcm_code/api/v1.2/get_code

How to do the same POST method from a browser? Thanks.




Aucun commentaire:

Enregistrer un commentaire