This method creates session for user
Name | Description |
---|---|
session[login] | Username |
session[password] | Password |
Accept: application/json Content-Type: application/json
POST /rest/v2/login
{ "session": { "login": "rest_auth_test", "password": "q123" } }
Content-Type: application/json; charset=utf-8
201 Created
{ "session": { "token": "F5EAEBCACE5322F6A54B541E2E29551878069A1D" }, "navigation": { "self": "http://example.org/rest/v2/login" } }