Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Extract Predix Token

Please give me guidance on how to run curl extract in Streamsets if it is possible

I currently retrieve a daily token to authorize access to a Predix dataset with:

curl 'https://810be097-b1e3-4f9c-b0bb-0d18052080bf.predix-uaa.run.aws-usw02-pr.ice.predix.io/oauth/token' -H 'Pragma: no-cache' -H 'content-type: application/x-www-form-urlencoded' -H 'Cache-Control: no-cache' -H 'authorization: Basic bW9ybmVkZXZpbGxpZXJzX2FwcDoxMDgxME1vcm5lQCM=' --data 'client_id=secret_app&grant_type=client_credentials'

Extract Predix Token

Please give me guidance on how to run curl extract in Streamsets StreamSets if it is possible

I currently retrieve a daily token to authorize access to a Predix dataset with:

curl 'https://810be097-b1e3-4f9c-b0bb-0d18052080bf.predix-uaa.run.aws-usw02-pr.ice.predix.io/oauth/token' -H 'Pragma: no-cache' -H 'content-type: application/x-www-form-urlencoded' -H 'Cache-Control: no-cache' -H 'authorization: Basic bW9ybmVkZXZpbGxpZXJzX2FwcDoxMDgxME1vcm5lQCM=' --data 'client_id=secret_app&grant_type=client_credentials'

'client_id=secret_app&grant_type=client_credentials'