padcom/grails-routing — Issue #6: Add requestBodyAndHeaders method to plugin
Author: pokerjocke70
Created: 2012-01-08 10:56:46+00:00
State: open

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)
}