Advertisement
bM2

Creacion y autenticacion

bM2
May 28th, 2017
690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Para crear una nueva cuenta
  2.  
  3. curl -H "Content-Type: application/json" -X POST -d '{"email":"sample@mail.com","password":"mypass","password_confirmation":"mypass"}' http://pseesapiauth.herokuapp.com/credentials
  4.  
  5. Para recibir el token de autenticacion de dicha cuenta
  6. curl -H "Content-Type: application/json" -X POST -d '{"email":"sample@mail.com","password":"mypass"}' http://pseesapiauth.herokuapp.com/authenticate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement