xxxxxxxxxx
curl -d "user=user1&pass=abcd" -X POST https://example.com/login
xxxxxxxxxx
curl -X POST -H "Content-Type: application/json" -d '{"key": "value"}' URL
xxxxxxxxxx
RUN IN WARP
curl -H 'Content-Type: application/json' \
-d '{ "title":"foo","body":"bar", "id": 1}' \
-X POST \
https://example.com/posts
xxxxxxxxxx
curl -d "" https://example.com
curl -H "Content-Type: application/json" --data "@C:\Users\xxx\Desktop\body.json" https://example.com/api/service