13 years ago
REST service response with attachment
I have a REST service that has a GET method that returns a binary file.
I've set these headers and the download works perfectly in any browser:
Content-Length
Content-Type
Content-Disposition
However, in soapUI the file will not show up as an attachment it will just put the binary in the response (for default XML tab).
How should I tell the server to form the response so that the binary file will show up in the attachments tab at the bottom of the response window?
Thank you very much for your time!!!!
I've set these headers and the download works perfectly in any browser:
Content-Length
Content-Type
Content-Disposition
However, in soapUI the file will not show up as an attachment it will just put the binary in the response (for default XML tab).
How should I tell the server to form the response so that the binary file will show up in the attachments tab at the bottom of the response window?
Thank you very much for your time!!!!