Log In¶
Log the Account User in using a username/pass. Returns a JWT token that is tied to the user and should be used to authenticate on subsequent requests.
HTTP request¶
POST https://megamify.com/api/v1/rest-auth/login/
Headers¶
See Security section of the API Reference.
Body¶
Name | Required | Type | Description |
---|---|---|---|
True | int | The email | |
password | True | int | The password |
Response¶
Name | Type | Description |
---|---|---|
token | string | The JWT token |
user | User object | The User object |