Bit.ly 检索 url curl returns {"FORBIDDEN","resource":"bitlinks","description":"You are currently forbidden to access this resource."}
Bit.ly retrieve url curl returns {"FORBIDDEN","resource":"bitlinks","description":"You are currently forbidden to access this resource."}
我 运行 a curl 从我的终端检索 bit.ly url 并收到禁止错误。
curl \
-H 'Authorization: Bearer {TOKEN}' \
-X GET \
https://api-ssl.bitly.com/v4/bitlinks/bit.ly/3fjIJ2P
错误:
{"message":"FORBIDDEN","resource":"bitlinks","description":"You are currently forbidden to access this resource."}
我正在使用 API 文档指南:https://dev.bitly.com/api-reference#getBitlink 是的,我创建了短片 url。
知道为什么会这样吗?
我使用的是 bitly /v3 路径,他们已经转移到 /v4 所以虽然我可以创建新链接,但我找不到它们。
我 运行 a curl 从我的终端检索 bit.ly url 并收到禁止错误。
curl \
-H 'Authorization: Bearer {TOKEN}' \
-X GET \
https://api-ssl.bitly.com/v4/bitlinks/bit.ly/3fjIJ2P
错误:
{"message":"FORBIDDEN","resource":"bitlinks","description":"You are currently forbidden to access this resource."}
我正在使用 API 文档指南:https://dev.bitly.com/api-reference#getBitlink 是的,我创建了短片 url。 知道为什么会这样吗?
我使用的是 bitly /v3 路径,他们已经转移到 /v4 所以虽然我可以创建新链接,但我找不到它们。