I am using JAX-RS to provide a server to process HTTP POST
method in a Maven and Java project.
The POST
body is empty, they put the parameters in the URL, like:
http://IP:PORT/url?source=aaa&xml=*********
I use the following method to gain the two parameters:
(@QueryParam("source") String source, @QueryParam("xml") String xml)
If the XML is under 4 KB, it works well. But if the XML is larger than 4KB, I get the XML as null.