curl post json
curl -d "user=user1&pass=abcd" -X POST https://example.com/logincurl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
curl -d "" https://example.com
curl -H "Content-Type: application/json" --data "@C:\Users\xxx\Desktop\body.json" https://example.com/api/servicecurl --data '' https://example.com/resource.cgi
curl -X POST https://example.com/resource.cgi
curl --request POST https://example.com/resource.cgi
curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":100}' http://localhost/api/postJsonReader.docurl -d '{"key1":"value1", "key2":"value2"}' -H "Content-Type: application/json" -X POST http://localhost:3000/data
Also in JavaScript:
- insertion sort javascript
- convert number to indian rupee format in javascript
- merge objects js
- how to downgrade node version
- cm to inches
- define all jsdoc typedef in a seperate file
- cannot find name json angular 7
- javascript array push object
- jquery avoid enter submit
- constructer
- javascript select row all delete
- import all from javascript
- react class component
- jquery get aria-label value
- remove duplicates from array
- how to right text with js
- how to test if string is a valid json string c#
- discord js if no arguments
- input img
- vue for loop
- What are the decodeURI() and encodeURI()
- random in a range js
- reduce method javascript
- how to test on user reaction discord.js