code: def send_post_command(self, command, body):
          
          # Send commands via HTTP post
          res = requests.post("http://{host}:{port}{command}".format(
              host=self._host, port=self._receiver_port, command=command),
                              data=body, timeout=self.timeout)
          if res.status_code == 200:
              return res.text
          else:
              _LOGGER.error((
                  "Host %s returned HTTP status code %s to POST command at "
                  "end point %s"), self._host, res.status_code, command)
              return False
docs: Send command via HTTP post to receiver.