Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Writing cURL Statement with Download Tool

brwright
8 - Asteroid

Hi API Experts!

 

I have an urgent question: does anyone know how to convert the following sample cURL Request Statement into something that can be reusable with the Download Tool?

(I already have the ACCESS_TOKEN set as a variable.)

 

curl -H "Authorization: Bearer ACCESS_TOKEN" https://apiv2.webdamdb.com/folders

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @brwright,

Try this: Add a field which contains your bearer token and add it as a header in the download tool:

 

IraWatt_0-1654883539179.png

IraWatt_1-1654883672137.png

And also pass your API URL as a link:

IraWatt_2-1654883708886.png

 

brwright
8 - Asteroid

Thanks! I was using the Bearer Token as a Payload instead of a Header! Its working now!!  Rock-n-Roll! 🎸

Labels
Top Solution Authors