Created
August 28, 2023 15:44
-
-
Save onefoursix/9784f0ee5727f0419f13fbfae44d41e7 to your computer and use it in GitHub Desktop.
An example of how to call an SDC REST API on StreamSets Platform
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CRED_ID="..." | |
export CRED_TOKEN="..." | |
curl -X GET "https://rancher.onefoursix.com:31910/rest/v1/system/jmx" \ | |
-H "X-SS-App-Component-Id: $CRED_ID" \ | |
-H "X-SS-App-Auth-Token: $CRED_TOKEN" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment