I want to print the following POST request details by the servlet
I use the following code in my servlet.
Of the intended details I am unable to print the following two details:
1) 'The protocol version that the web browser is requesting' as shown in the intended output's first line HTTP/1.1.
2) The message body or payload as shown in the intended output's last line color-dark&taste-malty
Please help me out as to which methods I need to use to get the above two details.