API文档里面如何进行认证 #5246
Unanswered
a214955582
asked this question in
问题咨询
API文档里面如何进行认证
#5246
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
例如进行订阅查询https://api.movie-pilot.org/#/subscribe/read_subscribes_api_v1_subscribe__get
我在header中加入api_key返回仍然是未认证,有大佬教教吗
`url = "http://192.168.1.253:3000/api/v1/subscribe/"
api_key = "fa515eb456fe4ae3bbb35ecdc694b826"
headers = {
"X-API-KEY": api_key,
}
response = requests.get(url, headers=headers)`
{'detail': 'Not authenticated'}Beta Was this translation helpful? Give feedback.
All reactions