Created
August 26, 2022 08:24
-
-
Save erikcorry/23d017e16f6606db44238668f94951d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (C) 2021 Toitware ApS. | |
// Use of this source code is governed by a Zero-Clause BSD license that can | |
// be found in the EXAMPLES_LICENSE file. | |
import http | |
import net | |
import net.x509 | |
import certificate_roots | |
main: | |
network := net.open | |
client := http.Client.tls network | |
--root_certificates=[certificate_roots.GLOBALSIGN_ROOT_CA, | |
certificate_roots.GTS_ROOT_R1] | |
response := client.get "script.google.com" "/AKfycbw.....7vLR/[email protected]&thresh=50&id=Sheet1&Temperature=123&Pressure=234" | |
while data := response.body.read: | |
print data.to_string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment