Skip to content

Instantly share code, notes, and snippets.

@alex-zige
Created February 19, 2014 23:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alex-zige/9103810 to your computer and use it in GitHub Desktop.
Save alex-zige/9103810 to your computer and use it in GitHub Desktop.
Curl post json file to api url endpoints for API testing
curl -H "Content-Type: application/json" --data @your-json-file-name.json http://localhost:XXXX/api-end-point
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment