Upload File - Web Service / API

Hello,

I’m interested in using the ‘POST’ operation from RestAPI to upload a file, but I can’t seem to find any information regarding this except that “upload file using API will be available from the 5.4 version”.

Well, I’m running the latest version right now and it does not seem to work.
Or maybe I’m doing something wrong?

Any help would be greatly appreciated .

image.png

Screenshot_24.jpg

Could you try setting Content-Type = application/zip
More info: https://stackoverflow.com/questions/20100445/zip-file-content-type-for-http-request

Thank you for your reply.

I’ve tried using Content-Type = application/zip and I get the same error.

I’ve also attempted to upload a JPG file to s specific path and It doesn’t seem to work either.


Untitled.jpg

Screenshot_25.jpg

Screenshot_26.jpg

Able to resolve it or still a problem ?