Forum Discussion
Hi,
Thank you for your post. To learn how to send an attachment with parameters specified in the QUERY string, please refer to the following article: https://support.smartbear.com/readyapi/docs/projects/requests/attachment/rest.html
- danielatsi7 years agoNew Contributor
Thank you Nastya! I have already tried that way, and this is exactly the way I am working with, but it didn't help.
- PaulMS7 years agoSuper Contributor
Can you change the content type on the attachments tab in the request?
https://www.soapui.org/docs/soap-and-wsdl/attachments.html
Content type
The MIME type of the attachment. This type will be specified in the Content-Type header of the request body part:SoapUI determines this column value automatically when you add a file to the Attachments tab. If needed, you can enter any other value later.
- Nastya_Khovrina7 years agoSmartBear Alumni (Retired)
To find the cause of the issue, compare a successful (or expected) raw request with a raw request from ReadyAPI and change the request accordingly.
To get a raw request in ReadyAPI, please switch to the Raw tab on the left side of the Request Editor.To get a raw request which was sent from a browser (or from another application) you can use Fiddler (http://www.telerik.com/download/fiddler) which is a free tool to capture HTTP(S) traffic.
Related Content
Recent Discussions
- 6 hours ago
- 17 days ago