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-2/login

PRODUCTION

Status
colourBlue
titlePOST

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

...

Making a request

Request headers

Key

Value

Content-Type

application/json

...

Code Block
curl https://ws.di.no/ws/json/auth/v-2/login \
  -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

...