Content-Type: application/json

From wikieduonline
Jump to navigation Jump to search
Content-Type: application/json
"accept: application/json"
"content: application/json"

application/x-www-form-urlencoded

curl -H "Content-Type: application/json"  --request POST --data '{"email":"[email protected]","password":"YourPassword"}' https://api2.timedoctor.com/api/1.0/login
curl -d


curl https://ethereum.end.point.example \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_getProof","params":["0x4200000000000000000000000000000000000016",[],"0x123456"],"id":1,"jsonrpc":"2.0"}'

See also[edit]

Advertising: