Registers a new user in the database
Name | Description |
---|---|
name | User name |
User email | |
password | User password |
password_confirmation | User password confirmation |
Content-Type: application/json Host: example.org
POST /v1/signup
curl "http://extracker-api.herokuapp.com/v1/signup" -d '' -X POST \ -H "Content-Type: application/json" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json; charset=utf-8
422
Content-Type: application/json Host: example.org
POST /v1/signup
curl "http://extracker-api.herokuapp.com/v1/signup" -d '{"name":"Maru","email":"euqueme@gmail.com","password":"foobar","password_confirmation":"foobar"}' -X POST \ -H "Content-Type: application/json" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json; charset=utf-8
201