+ Start a Discussion

How to use servlet to paser the HttpRequest on the Java side?

Hi Experts,
I want to use Apex HttpRequest to submit a request to a java servlet?But I failed to get the value set in the HttpRequest.
For ex. if i use setBody(), how can i get the body value in the Java servlet?
The same question goes to setHeader().
See Http Class in Documentation & waht are you going to do with setBody and setHeder the body limit it 100kb