Upload an image with API

Hello,

The API reference says I can upload files, but they use a path in their reference, and when I download a file with the HTTP module, I don’t have a path.

How can I manage this?
Thanks

David

From the API example,
Screenshot_2023-11-25_131142

You can still use “download a file with the HTTP module”, but you can upload the file this way

Hope this helps!

2 Likes

Hi @Davidof90

The HTTP module “Get a File” works only for publicly accessible URLs. So, ensure that the URL is accessible in a private window.

If not, it will not be downloadable using the HTTP module.

MSquare Support
Visit us here
Youtube Channel

2 Likes

Thanks, I was trying with the form-data body type, but I didn’t know I had to type “file” under “Key”.

2 Likes