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

Add requestBodyAndHeaders method to plugin #6

Closed
pokerjocke70 opened this issue Jan 8, 2012 · 2 comments
Closed

Add requestBodyAndHeaders method to plugin #6

pokerjocke70 opened this issue Jan 8, 2012 · 2 comments

Comments

@pokerjocke70
Copy link
Contributor

It would be nice to be able to use the request/response pattern and send headers.

Add a new method to the artifacts: requestMessageAndHeaders

artifact.metaClass.requestMessageAndHeaders = { endpoint,message, headers ->
template.requestBodyAndHeaders(endpoint,message, headers)
}

@padcom
Copy link
Owner

padcom commented Jan 8, 2012

Sounds like a good idea. Could you fork the plugin and send me a pull
request?

Matthias.

2012/1/8 Joakim Sundqvist <
reply@reply.github.com

It would be nice to be able to use the request/response pattern and send
headers.

Add a new method: to the artifacts: requestMessageAndHeaders

artifact.metaClass.requestMessageAndHeaders = { endpoint,message, headers
->
template.requestBodyAndHeaders(endpoint,message, headers)
}


Reply to this email directly or view it on GitHub:
#6

pokerjocke70 added a commit to pokerjocke70/grails-routing that referenced this issue Jan 9, 2012
 Added new method 'requestBodyAndHeaders' to artifacts to be able to send headers when using the request/response pattern
@padcom
Copy link
Owner

padcom commented Jan 15, 2012

Done in release 1.1.6

@padcom padcom closed this as completed Jan 15, 2012
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

2 participants