Untitled

 avatar
unknown
plain_text
3 years ago
382 B
17
Indexable
import requests
import time
start_time = time.time()
r = requests.post("http://159.223.115.38/sensors",
                  data={"sensorType":"uwb",
                        "lat":29842,"lon":32323,
                        "objectID":1,
                        "objectType":"human",
                        "sensorID":"1"})
print(time.time()-start_time)
print(r.status_code, r.reason)
Editor is loading...