Skip to content

Instantly share code, notes, and snippets.

@nipunsadvilkar
Created June 29, 2017 09:07
Show Gist options
  • Save nipunsadvilkar/e8067fd67b46e356f7dbbd3efee1706f to your computer and use it in GitHub Desktop.
Save nipunsadvilkar/e8067fd67b46e356f7dbbd3efee1706f to your computer and use it in GitHub Desktop.
curl_json_post_file
curl -vX POST http://server/api/v1/places.json -d @testplace.json \
--header "Content-Type: application/json"

curl -vX REQUEST url -d @filepath -H "Content-Type:application/json"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment