Skip to main content
Question

How to send image File in the body of REST web service while sending post method?

  • 28 March 2022
  • 6 replies
  • 287 views

imagePlease share your knowledge or example with me.

6 replies

Userlevel 4
Badge +7

Hi @Pakpoom Poodsud​ ,

 

Could you try using the Package instead and pass in the filepath of the Image you want to post?

 

Kind Regards,

Ashwin A.K

Userlevel 6
Badge +16

Hi @Pakpoom Poodsud​ ,

 

Checkout below Meetup Recap on package usage that is shared by @Ashwin A.K​ .

 

https://developer.automationanywhere.com/blog/meetup-recap-working-with-apis-in-automation-360

 

Time Stamp : 36:51

Userlevel 7
Badge +10

Hi,

 

Change the content type to Multipart and browse the image as shown below.

 

Capture

Userlevel 6
Badge +16

Hi @Pakpoom Poodsud​ ,

 

Did you checked below tutorial?

 

https://developer.automationanywhere.com/blog/meetup-recap-working-with-apis-in-automation-360/p>

Badge +5

Please give more examples, as I am just an amateur. @Moxit Mehta​ 

 

 

Badge +5

how did you salve it? I’m going through the same issue 

Reply