community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

How do you include the version number in the Accept header Rest API get request?

Highlighted
Meteoroid

I am making a get request to a Rest API.  Right now I just have a text input, download tool and a browse tool to verify that I can successfully connect to the endpoint and return data.  Data is being returned, but I am also receiving a warning that I need to include the version number in the Accept header to maintain compatibility when the API is updated.  The warning also had this example, "Accept: application/json; version=1".  How do you include the version number in the Accept header for a get request in Alteryx?  I tried making a version column in the text input tool and selecting the column for inclusion in the Download tool header tab and I am still getting the warning.

You can put headers in the header tab:

2018-12-03_19-32-50.png

 

This should let you send whatever extra headers you need.

Meteoroid

Thank you.

Labels