curl post json
curl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
curl post json
curl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
curl post request
curl -d "user=user1&pass=abcd" -X POST https://example.com/login
curl pass data in request
curl -d "param1=value1¶m2=value2" -X POST http://localhost:3000/data
how to send http post create request using curl command
$ curl --data "param1=value1¶m2=value2" http://locahost:8080/weather
how to send http post create request using curl command
curl --data "param1=value1" --data "param2=value2" https://example.com/resource.cgi
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us