code: def do_POST(self, request, response):
          # pylint: disable=C0103
          
          try:
              # Get the request content
              data = to_str(request.read_data())
  
              # Dispatch
              result = self._marshaled_dispatch(data, self._simple_dispatch)
  
              # Send the result
              response.send_content(200, result, "application/json-rpc")
          except Exception as ex:
              response.send_content(
                  500, "Internal error:\n{0}\n".format(ex), "text/plain"
              )
docs: Handles a HTTP POST request
  
          :param request: The HTTP request bean
          :param response: The HTTP response handler