Answers for "how to send a json in a post request from terminal"

PHP
18

curl post json

curl -X POST -H "Content-Type: application/json" \
 -d '{"username":"abc","password":"abc"}' \
 https://api.example.com/v2/login
Posted by: Guest on July-03-2020

Code answers related to "how to send a json in a post request from terminal"

Browse Popular Code Answers by Language