...
Info |
---|
An example collection that you can import into Postman to use as a starting point can be found here: https://www.postman.com/simoncoggins/workspace/totara-api-examples/overview |
The first step is to create variables for the site_url, client_id and client_secret on the Variables tab so you can securely reuse them elsewhere:
...
Next, return to the Authorization tab and set to OAuth 2.0, set Grant Type to Client Credentials, and enter the details as shown below. Then click Get New Access Token:
You can then click Use access token to make that token usable in future requests:
...
The collection link URL is:
https://www.postman.com/simoncoggins/workspace/totara-api-examples/overview
To import it into Postman, click Import from a workspace:
...
The play icon allows you to execute a query against the specified endpoint. The V icon allows you to provide a JSON structure containing variables that will be used as query arguments. Results will appear in the panel below:
Altair
Altair is a GraphQL client available on multiple platforms, including as a Google Chrome extension in the Chrome store.
...