curl post
# dont forget the content type, else it will throw an error curl -X POST -H "Content-Type: application/json" \ -d '{"username":"abc","password":"abc"}' \ https://api.example.com/v2/login
curl post
curl -X POST -d "param1=value1¶m2=value2" https://example.com/post
how to convert curl command to http request
curl -X 'POST' \ 'https://v4.chatpro.com.br/chatpro-pap1awboek/api/v1/send_message' \ -H 'accept: application/json' \ -H 'Authorization: u4s1ej2dayvudfpe18y6gkmo6vjg4l' \ -H 'Content-Type: application/json' \ -d '{ "message": "string", "number": "48999851795", "quoted_message_id": "string" }'