Skip to content

Downloading pdf from web service #50

@prabhug1987

Description

@prabhug1987

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions