POST api/token
Use this method to generate a new token using your provided credentials. The returned access_token must be used in a custom HTTP Header named Authorization and having for value: Bearer {access_token}
Request
Body Content
grant_type={grant_type}&username={username}&password={password}
replace {grant_type} by the value "password"
replace {username} by the login you were provided (case sensitive)
replace {password} by the password you were provided
Response
If the submitted credentials are valid, returns the token you need for further usage. You will have to use the access_token value in a custom HTTP Header named Authorization and having for value: Bearer {access_token}
Output : object (See Model)