Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading pdf from web service #50

Open
prabhug1987 opened this issue Sep 22, 2017 · 0 comments
Open

Downloading pdf from web service #50

prabhug1987 opened this issue Sep 22, 2017 · 0 comments

Comments

@prabhug1987
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant