作者:jd3096 | 更新時間:2021-05-16 | 瀏覽量:472
這是我的代碼
import requests import json url='http://www.eqytg.org/oauth/token' values={"cliend_id":"1109","client_secret":"fc1c890e2e","username":"15790","password":"0894aef469","grant_type":"password"} headers={"Content-Type": "application/x-www-form-urlencoded"} jdjd=requests.post(url=url,data=values) print(jdjd.text)
錯誤代碼
{"error":"invalid_client","error_description":"Client credentials were not found in the headers or body"}
請問可能是什么原因呢?