Forum Discussion

tamilsmani's avatar
tamilsmani
New Contributor
12 years ago

REST - Image Attachment.

Hi,

I would like to use SOAP-UI for testing REST services. My REST service have input object and file attachment as well.

Exmple:

1).Input object as below:
{"notice":{"articleId": 1, "title":"Notice1","bodyText":"All student organisations are henceforth banned. Signed Dolores Jane Umbridge."}}

2). Want to know how to send image file as attachment through mulitpartrequest (content-type = image/jpeg).

Please let me know where should i pass these inputs on my REST services also let me know the image attachment request body string.

Regards
Tamil
No RepliesBe the first to reply