It's a gist name!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Scripts to make it easy to ask authenticated GET queries of an ESB with the IBM api manager and WSO2 backend.
These scripts assume input is a GET request and output is in json format. It uses jq to format the output.
authentication - The scripts expect to find credentials in the file credentials in the current directory. Use symbolic links to keep multiple different credential files in the same directory. See the file credentials.TEMPLATE for more information.
- getApiToken.sh - Use the credentials to get an up-to-date access token. Just append it to the credentials file to make the token available to the run script. E.g.
./getApiToken.sh >> credentials