Explorar el Código

Add alt to test

JoostSijm hace 5 años
padre
commit
9ae23e8707
Se han modificado 1 ficheros con 11 adiciones y 1 borrados
  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)