Hi,
I am using this plugin for getting details from web service. It is working for web service but I couldn't get the file attachment from it.
def attachRead = rest.get('url') {
contentType "application/pdf"
}
def bodyText = attachRead.body.toString()
Please help me or let me know how to convert this to stream or file.