Remarks
This servlet will simply print value of the Content-Type header, and the raw version of the posted data.
In general it is not safe to combine this style of reading data, using getReader(), with the higher-level approach, using getParameter()—choose one or the other.