24 lines
525 B
Python
24 lines
525 B
Python
import requests
|
|
import json
|
|
|
|
# 禁用 SSL 警告
|
|
import urllib3
|
|
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
|
|
|
# 测试数据
|
|
test_data = {
|
|
'keyword': '12132ed@qq.com'
|
|
}
|
|
|
|
# 发送请求
|
|
response = requests.post(
|
|
'https://cursorapi.nosqli.com/admin/api.member/check',
|
|
json=test_data,
|
|
verify=False,
|
|
proxies={"http": None, "https": None}
|
|
)
|
|
|
|
# 打印响应
|
|
print("Status Code:", response.status_code)
|
|
print("\nResponse:")
|
|
print(json.dumps(response.json(), indent=2, ensure_ascii=False)) |