diff --git a/python/stdlib/http_url_secret_apikey.py b/python/stdlib/http_url_secret_apikey.py new file mode 100644 index 0000000..c95531a --- /dev/null +++ b/python/stdlib/http_url_secret_apikey.py @@ -0,0 +1,9 @@ +import http.client + + +host = "example.com" +conn = http.client.HTTPSConnection(host) +conn.request( + "GET", "/path?apiKey=value&otherParam=123", headers={"Host": host} +) +response = conn.getresponse()