传递的 API 密钥对 Postman 中的 Marvel API 无效 [英] The passed API key is invalid with Marvel API in Postman
问题描述
我正在尝试在 Postman 上向 Marvel API 发出请求,但收到错误代码:401
I'm trying to make a request to Marvel API on Postman but I got Error code: 401
{
"code": "InvalidCredentials",
"message": "The passed API key is invalid."
}
我使用这个网站来获取时间戳并使用this 获取 MD5 哈希值
I used this website to get a timestamp and use this to get MD5 hash
我在请求中发送这些参数apikey,ts,hash 如此处所述,但仍然出现错误
I send in the request these parameters apikey,ts,hash as mentioned here but still got the error
如此答案中所述,我尝试将我的 IP 添加到授权的推荐人,但它也无济于事>
I tried to add my IP to authorized referrers as mentioned in this answer but it wouldn't help too
推荐答案
我也遇到了这个问题.以下内容对我有帮助:
I was having this problem as well. The following helped me:
直接从我的开发者帐户,在附加推荐中添加您的 IP 地址后,我点击了交互式文档.
Straight from the My Developer Account, after adding your IP address in the additional referral, I clicked interactive document.
不确定您是否还需要答案,但我就是这样让我的工作的.
Not sure if you still need the answer, but that's how I got mine to work.
这篇关于传递的 API 密钥对 Postman 中的 Marvel API 无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!