You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
258 B

  1. # Passing diagnostic information in the POST body:
  2. import requests
  3. requests.post("PING_URL", data="temperature=-7")
  4. # Passing diagnostic information in the User-Agent header:
  5. import requests
  6. requests.get("PING_URL", headers={"User-Agent": "temperature=-7"})