InputStream in = request.getInputStream(); BufferedReader br = new BufferedReader(new InputStreamReader(in)); String message = org.apache.commons.io.IOUtils.toString(br); Map map = (Map)JSON.parse(message);