I am trying to get a token so I can connect to Joan tablet cloud to pull data from it. The curl call is the following:
curl -u client_id:secret https://portal.getjoan.com/api/token/ -d 'grant_type=client_credentials'
I have the client_id and secret from the site but can't figure out where to put it. I have tried the Headers and Payload but I can't seem to get the token back. Works great in curl and I even got it in Postman.
Does anyone have any idea on where to put the -u parameters in download tool?
@gesh2112 curl will Base64 encode the credential and format it in the header as "Authorization: Basic {Base64 encoded string}". I have attached a workflow illustrating how you can replicate this in Alteryx.
I see your solution where you use the base 64 tool as a work around for using the curl -u and want to tap into your knowledge on how I can solve this problem. A read from the community and other places suggests disabling the SSL using the (-k/--insecure) curl - SSL CA Certificates. I am not able to do this in the download tool or don't know which tool will enable me to do this.
@KorkuSep I don't have enough experience with curl to answer your question directly. It's possible that this could be included in the Download tool as a header parameter? If you prefer to just execute a curl script, you can do so with the Run Command tool.
User | Count |
---|---|
106 | |
85 | |
76 | |
54 | |
40 |