在邮递员中的身份验证下找不到API密钥

时间:2020-04-25 10:52:01

标签: api authentication postman api-key

在邮递员中,我试图使用邮递员使用基于令牌的身份验证来测试我的API。我为用户生成了令牌,但是为了测试它,我需要将其作为Postman中的API密钥提供。但是我找不到API密钥选项。
为了理解,我添加了Postman窗口的屏幕截图。 Please have a look.

我应该怎么解决这个问题?

2 个答案:

答案 0 :(得分:1)

对我来说也是一样,我通过以下方式解决了

Go to "Headers" tab near "Authorization"
Put "Authorization" in "KEY" form
Put "Token xxxxxx" in "VALUE" form

答案 1 :(得分:0)

请尝试在本地计算机上下载,下载的计算机具有您要查找的选项

https://www.postman.com/downloads/

以下是相关文档

https://learning.postman.com/docs/sending-requests/authorization/#api-key 请尝试在本地计算机上下载,下载的计算机具有您要查找的选项

https://www.postman.com/downloads/

这是相关文档

https://learning.postman.com/docs/sending-requests/authorization/#api-key

显示所有授权选项的快照