throws IOException, ServletException {
ServletInputStream inputStream = request.getInputStream();
JSONSerializer jsonSerializer = new JSONSerializer();
try {
Object value = jsonSerializer.readObject(inputStream);
jsonSerializer.writeObject(value, System.out);
response.setStatus(201);
response.setHeader("Location", request.getPathInfo() +"#101");
} catch(SerializationException exception) {
throw new ServletException(exception);