...
Info |
---|
|
Environments / endpoints
...
Code Block |
---|
curl -X POST \ https://ws.di.no/ws/json/auth/v-3/login/1440 \ -H 'Content-Type: application/json' \ -dĀ "{\"username\": \"myname\", \"password\": \"secret\"}" |
Response object
...
The endpoint replies with a response object in JSON format, containing the following data
Field | Description | Example | Data type | Count |
---|---|---|---|---|
token | The JWT token to be used in subsequent requests | aVeryLongString | String1 |
The security token should be placed in theĀ Authorization header like this:
...