|
|
@ -27,10 +27,10 @@ except socket.error as e: |
|
|
|
print("Ping failed: %s" % e) |
|
|
|
``` |
|
|
|
|
|
|
|
You can include additional diagnostic information in the in the request body (for POST requests): |
|
|
|
You can include additional diagnostic information in the request body (for POST requests): |
|
|
|
|
|
|
|
```python |
|
|
|
# Passing diagnostic information in the POST body: |
|
|
|
import requests |
|
|
|
requests.post("PING_URL", data="temperature=-7") |
|
|
|
``` |
|
|
|
``` |