function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
stephenystepheny 

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().
 
 
Thanks,
Stephen
gv007gv007
See Http Class in Documentation & waht are you going to do with setBody and setHeder the body limit it 100kb