Versions Compared

Key

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

...

https://folio-snapshot-okapi.dev.folio.org

Image RemovedImage Added


Looking up the authentication token

API calls to FOLIO require a token that is used for authentication. Consequently, you will first need to GET this token with a POST request, sending the username and password as raw JSON in the body of your API request:

...

Tokens on Snapshot change when the site is rebuilt, which happens daily. It can also change if someone logs in as diku_admin and then logs out. So if you are working with API calls on Snapshot, you will need to update the Okapi token each day.


Using variables to store authentication information

If you choose to use the variable, you will then only need to update it in one place rather than in each request you define. You will find your variables in 'Environments' on the left of the Postman screen:

...