Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TEST

Status
colourBlue
titlePOST

https://staging-ws.di.no/ws/json/auth/v-3/login/ValidTime

PRODUCTION

Status
colourBlue
titlePOST

https://ws.di.no/ws/json/auth/v-3/login/ValidTime

...

Making a request

Request headers

Key

Value

Content-Type

application/json

...

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

...

The endpoint replies with a response object in JSON format, containing the following data

...