Forum Discussion

kimothis's avatar
kimothis
Occasional Visitor
10 years ago

Send an attachment in REST post request inside json.

I have a REST POST endpoint which accepts json input. And there is a json value to attach a file. 

Exp:--

{data

{

"body":"test message",

"attachment":"file path"

 

}

 

How can we add an attachment in above json request using SOAPUI free version.

  •  

    I think you can userattachment button below the request window:

     

    attachment.png