Confirmed users
483
edits
(→Authenticating requests: Removed trailing slash.) |
|||
Line 19: | Line 19: | ||
* If you already have a user, you can request a new session token sending a POST request to the /users/login endpoint including a basic authorization header with username:password encoded in Base64 according to [http://www.ietf.org/rfc/rfc2617.txt RFC2617]. | * If you already have a user, you can request a new session token sending a POST request to the /users/login endpoint including a basic authorization header with username:password encoded in Base64 according to [http://www.ietf.org/rfc/rfc2617.txt RFC2617]. | ||
POST /users/login | POST /users/login HTTP/1.1 | ||
Content-Type: application/json | Content-Type: application/json | ||
Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l | Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l |