【发布时间】:2023-03-22 11:57:02
【问题描述】:
您好,我正在尝试为以下 Postman 基本身份验证构建一个 URL。 Username 中的值为 API Token 或 API key。
我试过了:
https://company.clearbit.com/v1/domains/find?name=Jackson marketing&Username=myAPIYeywhichisblackedoutinimage
在 postmane 中它可以工作,但我得到的 URL 是:
{
"error": {
"type": "auth_required",
"message": "Authentication is required for this action. Sign up at https://clearbit.com"
}
}
如何构造一个适合但粘贴到浏览器的 URL?
约翰
【问题讨论】:
标签: rest curl postman basic-authentication