Forum Discussion

nwuser's avatar
Occasional Contributor
4 years ago

Trying to download attachment in response

Is there a way from Ready APi to save an attachment in a response in my local directory? 

Thanks for any input / ideas..

  • Are you able to see anything in response, in XML tab? In my case I see my response image(Encoded) in XML tab with encoded data. with Content type. If you can see like that, we can set it the dynamic file type by writing groovy script  with set property.

    File name you can give something which related to REST call name and file type(Just a work around).

8 Replies