Skip to content

Instantly share code, notes, and snippets.

@mwawrusch
Created December 4, 2013 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwawrusch/7795258 to your computer and use it in GitHub Desktop.
Save mwawrusch/7795258 to your computer and use it in GitHub Desktop.
curl -X POST -H "Content-Type: application/json" -d '{"username":"xyz","password":"xyz"}' http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test
curl -X GET -H "Content-Type: application/json" http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test
curl -X GET -H "Content-Type: application/json" http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test/529cfeab25d7b200004f2aa4
curl -X DELETE -H "Content-Type: application/json" http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test/529cfeab25d7b200004f2aa4
curl -X PATCH -H "Content-Type: application/json" -d '{"username":"test"}' http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test/529cfc5b1f2d02000047ce3a
curl -X PUT -H "Content-Type: application/json" -d '{"username":"test", "foo" : "bar"}' http://50a30013fdc691052b000075.fanignite.net/529955c0ebf7c5cc61000009/d/some-test/529cfc5b1f2d02000047ce3a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment