...
A request for a token takes the following structure. Refer to the table below for the correct username and password to pass in the callNote that USERNAME should be your TCIA username and PASSWORD should be your TCIA password.
Code Block | ||
---|---|---|
| ||
curl -d "username=<username>USERNAME&password=<password>PASSWORD&client_id=<theClientIDFromHelpDesk>&client_secret=<theClientSecretFromHelpDesk>&NBIA&grant_type=password" -X POST -k https://services.cancerimagingarchive.net/nbia-api/oauth/token |
...
Code Block | ||
---|---|---|
| ||
curl -d "username=nbia_guest&password=&client_id=NBIA&grant_type=password" -X POST -k https://services.cancerimagingarchive.net/nbia-api/oauth/token |
...