Versions Compared

Key

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

...

Access to any NBIA Advanced REST API requires an access token. A request for an access token takes the following structure. Note that USERNAME USER should be your TCIA username and PASSWORD should be your TCIA password.

Code Block
titleStructure of a Request for a Token
curl -X -v -d "username=USERNAMEUSER&password=PASSWORD&client_id=NBIA&grant_type=password" -X POST -k https://services.cancerimagingarchive.net/nbia-api/oauth/token

...

Code Block
titleRequest a Token to Use with Public Data
curl -X -v -d "username=nbia_guest&password=&client_id=NBIA&grant_type=password" -X POST -k https://services.cancerimagingarchive.net/nbia-api/oauth/token

...