code: def do_POST(self):
          
          # Doesn't do anything with posted data
          # print "uri: ", self.client_address, self.path
          self.do_initial_operations()
          payload = self.coap_uri.get_payload()
          if payload is None:
              logger.error("BAD POST REQUEST")
              self.send_error(BAD_REQUEST)
              return
          coap_response = self.client.post(self.coap_uri.path, payload)
          self.client.stop()
          logger.info("Server response: %s", coap_response.pretty_print())
          self.set_http_response(coap_response)
docs: Perform a POST request