Hi Community, I have a process that downloads data from a GET API with basic auth and works great.
Now I want to use a POST API that I need to send a .csv. Is this possible with Alteryx?
I made this workflow, but I get in the DownloadData a (:message “Invalid File”) that I assume is that I am not sending the information as a .csv.
Can someone help me see what I am doing wrong?
Thanks!!!
What API are you leveraging? It would be helpful if there was some documentation available so we can help guide you.
I cant post the details because its can only be accesed from the coporate enviroment.
But its a regular Basic Auth API that needs to recieve a .csv file. The thing im not finding is where i can set to send the .csv as an attachment and not as raw data.
Thanks!
Do you have it working successfully in postman? Sometimes that is a good place to start and then you can see the resulting cURL code which is easy to translate into either Alteryx code or used in conjunction with a run command tool. Alternatively you could use a bit of Python in the Python tool. Depending on the API requirements you can probably get the download tool working as well, but without seeing the documentation it is tough to know what particular components are required to be sent in the request.
@BrandonBsorry the delay in the response I was having trouble to make it work in postman (same error) and I found out that it was because I was sending the file key empty. I put the name "file" in that field, and it worked on postman. But I can’t figure out to make it work in Alteryx. This is the Postman configuration that brings the "file queued" response. Can you help me out to figure out what I’m missing?