-
Notifications
You must be signed in to change notification settings - Fork 0
Service Login
x1s edited this page Feb 14, 2012
·
1 revision
| Method | Auth? | URL |
|---|---|---|
| GET | false | /login/?user=:user&password=:password |
|
http 200 code {"idPerson":"1","token":"4ec3be34eb7219.04770401"} * this token is aim to be used in all services that requires "token" as a authentication parameter. http 401 code {"message":"wrong credentials"} http 400 code {"message":"invalid params"} |
||
| GET | false | /login/:token |
| valid if a token still valid. returns "true" and a 200 http code returns false and a 401 http code. |
||
| GET | false | /login/recover?email=:email |
| password recover returns "true" and a 200 http code returns false and a 400 http code. |
||