JoostSijm 5 anni fa
parent
commit
9ae23e8707
1 ha cambiato i file con 11 aggiunte e 1 eliminazioni
  1. 11 1
      test.py

+ 11 - 1
test.py

@@ -14,4 +14,14 @@ DATA = {
     'test': 'true',
 }
 
-print(requests.get(URL, headers=HEADERS, data=DATA).text)
+PARAMS = {
+    'alt': True
+}
+
+RESULT = requests.post(
+    URL,
+    headers=HEADERS,
+    data=DATA,
+    params=PARAMS
+)
+print(RESULT.text)