know.http_sensor_sim

defines simulate_http_sensor

know.http_sensor_sim.simulate_http_sensor(filename, target_url)[source]

Reads from a local file and sends it in binary format in an HTTP POST request.

Parameters
  • filename – The file to read

  • target_url – The URL to send the data to.