How can I read the String / byte array that is the payload POSTed to a GAE java app?
Is there a simple way to get those bytes without using Jackson / jersey or similar libraries?
Angular side uses something like:
$http({ method : 'POST', url : 'http://APPID.appspot.com/api/get-reference-locales-for', data : { 'param' : value, 'param2' : value2 }) Java side has
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { ... I expected that there would be a simple way to get the string {'param':1,'param':2} from the req object but I can seem to find it.