Login to application
Supports both json and form request types. If the caller is already logged in, they are logged out and the new user is logged in.
post/login
Query parameters
nextstring
URL to redirect to on successful registration. Ignored for json request.
Request body
Response
Login response
Example response
{
"user": {
"id": 42
}
}