merxyboy
8 years agoNew Contributor
Cannot upload an image using SoapUI - Petstore UploadImage API
Hi SmartBear community, I have imported the sample petstore wadl from Swagger and am currently trying the UploadImage API. However, no matter what I do (searched all over the internet for answers...
- 8 years ago
1) Change the petId parameter type to TEMPLATE.
2) Change the file parameter value to file:hqdefault.jpg (not cid:...)
3) Change Media Type to multipart-form/data.
4) Select the Post QueryString check box.
This should do the trick.