2

I am desperately trying to tell the commons HTTP Client not to urlencode my payload (XML) on a POST request. Is there any way to do this? If you can recommend any other class that does not urlencode by default I would be happy to try it.

Thanks in advance for every input.

BR Stefan

3
  • Please see if this is what you are after Commented May 23, 2016 at 15:34
  • Hi Rao, sadly it does not. Content-Type: text/plain does not prevent the apache HTTPClient from using urlencode. Commented May 23, 2016 at 15:54
  • Stefan, please, read the TAGs you used. The DO NOT USE is not rethorical. Please, change the tag to the httpClient you are using. Since they are not equal, its likely this is an issue, also, we cant help if we have to guess parts of the system or the question. If its the Java Apache Client, check this Commented May 23, 2016 at 18:15

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.