peternguyen.id.au
Posts
Tag: bash
Posting JSON with curl
You can post a json file with curl like so: curl -X POST -H "Content-Type: application/json" -d @FILENAME DESTINATION So for example: { name: 'Peter Nguyen' } curl...