Back to help overview
Back to API functionality

Get API token

Obtain authorisation token

Get API token using user credentials.

Data fields

username : Required. Username password : Required. Password

Code examples

api_url = "http://arisemdsvm.science.uva.nl//api-token-auth/"       
response = requests.post(api_url,{"username":username,"password":password})
token=response.json()['token']

Details

URL : api/api-token-auth/

Method : GET

Auth required : NO

Permissions required : None