Hello,
Here is my issue. I use an external service to compress a PDF (convertAPI).
The file comes back to me as a URL : https://v2.convertapi.com/d/8wsthwqqstwp26apmz3lhebtog0afcpx/dossier_co_brut.006G500000NOnaDIAT-1-5.pdf
It's nice, but the file cannot be stored more than 3 hours on their server. So, I would like to store the file on xano and then provide the Xano Vault URL as response.
I'm struggling to "retrieve" (or download, or whatever) the PDF that comes back from convertapi.com. I tried using base64_encode, base64_decode, create files, etc. but I don't think it works like that.
Kind of errors I got: Unable to base64_encode non-scalar data. Try converting to a string via json_encode.
And convertAPI doesn't offer to send the file back as a base64 format.
Cheers everyone