Ask a Question

Send an attachment in REST post request inside json.

kimothis
Occasional Visitor

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.

1 REPLY 1
MikeDally
Contributor

 

I think you can userattachment button below the request window:

 

attachment.png

 

 

cancel
Showing results for 
Search instead for 
Did you mean: