This method is used to exchange an e-mail and password combination for a JSON Web Token.

The API is compatible with satellizer for Angular JS.

Returns

On success information about the user is returned together with a JSON Web Token which should be used to authenticate all future requests.

Request

POST https://dev.medrecord.nl/auth/login/password

Request body

The request body takes a complete Username and password for logging in resource, containing the following writable properties:

{
    "email": "string",
    "password": "string"
}

Properties

Name Type Description Additional
email string

Username

required
password string

Password

required

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

Success

Information about the logged in user

Explore this API

body

The users e-mail address and their passwrod.

Request Content-Type
Response Content-Type
Try it out!
pluslistarrow-leftglobe