mirror of
https://github.com/healthchecks/healthchecks.git
synced 2024-11-23 16:07:39 +00:00
7 lines
258 B
Plaintext
7 lines
258 B
Plaintext
# Passing diagnostic information in the POST body:
|
|
import requests
|
|
requests.post("PING_URL", data="temperature=-7")
|
|
|
|
# Passing diagnostic information in the User-Agent header:
|
|
import requests
|
|
requests.get("PING_URL", headers={"User-Agent": "temperature=-7"}) |