Hi All,
I am getting a success response when i upload a file using postman.
But when i try the same with alteryx designer it saying "A file was not included in the request.","success":false
My worklfow is quite siple..I am just trying to upload .txt file via api call but i guess i am getting configuration of the payload section in the download tool incorrect.
very much new to this API upload space.
My curl code from Postaman is as below...have edited some of the details here...My query is how can i achieve the last lineie in higigted RED below in Alteryx API call...
I’ve also had issues before with uploading files using a POST api request. I’ve had success converting to blob when uploading data to Azure file storage, but also failed. I’ve found this post on community which suggests data and files cannot be uploaded using the download tool, so instead they take the python script generated by postman. Maybe that would work for you? - https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Not-able-to-Upload-both-File-and-Data-...
What if the type is "file"? The conversion to base64 is a string.
- in: "formData" name: "upload" description: "File Upload" required: true type: "file"