소스 검색

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)