Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
382 B
15
Indexable
Never
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)