Hi,

We have "/" in a query param as a value which has to be passed on to a rest
API. But as soon as we add it in the header to be used with REST dsl it
gets encoded %252F in the actual url.

url=rest:get:/api/v1/some functionality --> this is saved in
application.properties
parameterA=users/xyz/abc --> saved in exchange header.

<toD
Uri="{{url}}&parameterA=${header.parameterA}&parameterB=${header.parameterB}"
/>

Apache camel version used - 3.2.0.x

Can someone help me in how to stop this and pass it as slash(/) itself.

https://stackoverflow.com/questions/76221203/how-to-stop-encoding-of-query-params-value-when-we-have-some-special-characters

Thanks and Regards

Himanshi

Reply via email to