如何修复 "Bad Request","status":400"
How to fix "Bad Request","status":400"
我尝试使用以下网站 https://api.twitch.tv/kraken/streams/ chennal name 获取抽搐 api,但没有任何反应并出现错误
{"error":"Bad Request","status":400,"message":"No client id specified"}
我希望获得观看者人数和关注者人数
有必要在请求中包含您的客户端 ID。例如:
curl -H 'Accept: application/vnd.twitchtv.v5+json' \
-H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \
-X GET 'https://api.twitch.tv/kraken/streams/44322889'
See here for details 关于设置您的客户端 ID。
我尝试使用以下网站 https://api.twitch.tv/kraken/streams/ chennal name 获取抽搐 api,但没有任何反应并出现错误 {"error":"Bad Request","status":400,"message":"No client id specified"}
我希望获得观看者人数和关注者人数
有必要在请求中包含您的客户端 ID。例如:
curl -H 'Accept: application/vnd.twitchtv.v5+json' \
-H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \
-X GET 'https://api.twitch.tv/kraken/streams/44322889'
See here for details 关于设置您的客户端 ID。