Answers for "check api response using curl"

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
0

how to hit rest api using curl

curl -I https://www.bookmarks.dev/api/public/bookmarks
Copy
Posted by: Guest on August-03-2020

Browse Popular Code Answers by Language