Skip to content

Instantly share code, notes, and snippets.

@marcusoftnet
Created March 29, 2014 12:36
Show Gist options
  • Save marcusoftnet/9853690 to your computer and use it in GitHub Desktop.
Save marcusoftnet/9853690 to your computer and use it in GitHub Desktop.
Adding users with CURL
curl -X POST -H "Content-Type: application/json" -d '{"username":"[email protected]","password":"xyz"}' http://localhost:3000/user -v
curl -X POST -H "Content-Type: application/json" -d '{"username":"[email protected]","password":"xyz^2"}' http://localhost:3000/user -v
curl -X POST -H "Content-Type: application/json" -d '{"username":"[email protected]","password":"zyx"}' http://localhost:3000/user -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment