使用post方法
用post方法携带参数
可能会用到的链接:
https://website.luckylai.xyz/api/login
python
import requests
url = "https://website.luckylai.xyz/api/login"
data = {
"username": "lucky",
"password": "ILoveU1R"
}
response = requests.post(url, json=data)
print(response.json())