Skip to content

Instantly share code, notes, and snippets.

@marcusoftnet
Created March 29, 2014 12:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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":"marcusoft.net@gmail.com","password":"xyz"}' http://localhost:3000/user -v
curl -X POST -H "Content-Type: application/json" -d '{"username":"hugo@gmail.com","password":"xyz^2"}' http://localhost:3000/user -v
curl -X POST -H "Content-Type: application/json" -d '{"username":"abbe@gmail.com","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