[
https://issues.apache.org/activemq/browse/CAMEL-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52789#action_52789
]
Sergey Beryozkin commented on CAMEL-1806:
-----------------------------------------
> POST does not support request parameters.
URIs used in POST requests may still contain queries - it may not be regarded
as the best use of queries but it may be used. For ex, JAX-RS spec does not
prohibit having resource methods like :
@POST
void doPost(@QueryParam("a") String s) {}
Another variation is form submissions, with application/x-www-form-urlencoded.
Even though name-value pairs go in the request body, the names can still be
accessed as Form parameters. In fact, the WADL spec types such parameters as
'query'
Sergey
> put the query parameters into the message header
> ------------------------------------------------
>
> Key: CAMEL-1806
> URL: https://issues.apache.org/activemq/browse/CAMEL-1806
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-http
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.6.2, 2.0.0
>
>
> We will have the query parameter with POST and GET method.
> But current Camel just support to put these parameters into the message
> header with the http GET method.
> Here is the user requirement of this[1], we should add this support in Camel.
> [1] http://www.nabble.com/Jetty-component-and-HTTP-parameter-to24287116.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.