瀏覽代碼

Add alt to test

JoostSijm 5 年之前
父節點
當前提交
9ae23e8707
共有 1 個文件被更改,包括 11 次插入1 次删除
  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)