[ 
https://issues.apache.org/jira/browse/CAMEL-15206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17139328#comment-17139328
 ] 

Claus Ibsen commented on CAMEL-15206:
-------------------------------------

You should generally ask first on the user mailing list to get help.

That error is likely from the HTTP server that regard it as a bad request. So 
what HTTP component are you using jetty, undertow or what? 
Also try with latest 2.25.x release as that is the only active supported 2.x 
version

> Rest API request path handle spanish text using Apache camel
> ------------------------------------------------------------
>
>                 Key: CAMEL-15206
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15206
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core, rest
>    Affects Versions: 2.23.2
>            Reporter: Naveenkumar Palanisamy
>            Priority: Major
>
> Actually I create rest api using apache camel. Its a Get Call.
> Request Path like this -> *users/names/\{username}?client=\{clientId}*
> we will try to given username is Spanish text like this -> 
> *users/names/plánia?client=100* 
> and try this also -> *users/names/pl%C3%nia?client=100*
> Its throw error like *bad request*
>  
> {code:java}
> {
>    "timestamp": "2020-06-17T16:06:25.609+0000",
>    "status": 400,
>    "error": "Bad Request",
>    "message": "Illegal Argument Specified in the Request Headers or Path",
>    "path": "/users/names/plánia"
>  }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to