Hey guys, I’ve been trying to create get a file/image from airtable > download the downloadable file (not the view only) > Upload it into a local accounting software, but file has to be in binary data.
Describe the problem/error/question
So far i’ve been able to get the downloadable URL, after downloading the URL, when calling the accounting systems API to upload the file. It somehow only shows me some HTML data only.
Is there a way to check for to get the binary data, cause I suspect maybe the way I’m doing it right now is not getting the right binary data from the file.
This is the sample payload from the API documentation:
Request samples
Payload
Content type
multipart/form-data
{
“file”: “0101010101…”
}
Please do let me know if you need anymore extra data, as I’m not too sure if this is sufficient for you to provide input on this issue im facing right now. Thanks
Sorry, just saw your reply, but I tried again but it didnt manaage to create a record in the files of the accounting system.
Not sure if its the API url issue, as I tried it on their Live API i was able to upload the file. However when using the staging API (current one) it somehow did not work
The 200 response on your request means it arrived but it wasn’t processed… something it may block that content. (I had this issue with a free hosting anti bot wall)….