Reputation: 581
I'm getting a post request- with a XML in the body. what is the best way to get the requests body?
cheers:)
Upvotes: 0
Views: 863
Reputation: 692151
Use request.getInputStream()
to get the body as an InputStream
, and parse this stream with an XML parser.
Upvotes: 2