How to Send files through Http POST/PUT Request

Hello everyone,

Is there any way to Send files(Image) to another Rest API?

There is option Attachments in In Http Request Which allows only String type

my Another Question is how we will Get the Attachment(variable Name) where We are Getting Images!!

it will be Great if anyone have working sample!

Regards
Aditya

Is there any way to Send files(Image) to another Rest API?
There is option Attachments in In Http Request Which allows only String type

You can pass the files’ paths (which are strings) using Attachments.

my Another Question is how we will Get the Attachment(variable Name) where We are Getting Images!!

I’m not sure I understand the question, but you can get files from a REST API using the ResourcePath property.

Hey @Mateus_Cruz,

Thank you very much for your Quick Response! :blush: and very sorry for Late reply as I was sick!!

I had did the same, as you suggested, but my question is how to receive Attached files on other end!!
in which parameter/variable Attachments can be accessed?
I hope my question is clear to you :flushed:

Thanks & Regards
Aditya prakash

how to receive Attached files on other end

This depends on how the API is implemented… :sweat_smile:
For example, if you’re sending a file using a POST request, then the API is probably saving this file somewhere in the server.

Hi, help me pleases, I can not use variables in body json.
as you can see in youtube video