1234567891011121314151617181920212223 |
- """
- @author: luojunhui
- """
- import json
- import time
- import requests
- url = "http://47.99.132.47:8888/matchArticleV2"
- body = {
- "taskId": "Article_489a1168-b0bb-430f-97ca-196963ef1f82_1718784492"
- }
- a = time.time()
- header = {
- "Content-Type": "application/json",
- }
- response = requests.post(url, json=body, headers=header, timeout=600)
- b = time.time()
- print(b - a)
- print(response.text)
- print(json.dumps(response.json(), ensure_ascii=False, indent=4))
|