Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!
Start Free Trial

Alteryx Designer Desktop Discussions

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

How can I get the response headers when calling an APi ussing the download tool?

SaraPulgarin
5 - Atom

I was able to retrieve data from the API by using the download tool but the response only gives me the body of the json I also need access  to the response headers as in the API that I am using I need a scroll_id to be able to iterate between pages

json.png

I read that in order to do that using CURL as an Ajax request from within a PHP application you will need to set the following to get access to the header needed

curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, array (&$this, 'methodName')); 

 

does anyone else know how to access the headers from alteryx?

1 REPLY 1
gabrielvilella
14 - Magnetar

Don't you have the response header on the DownloadHeader column after the Download? 

Labels
Top Solution Authors