【问题标题】:scalr api with postman client an带有邮递员客户端的scalr api
【发布时间】:2017-05-17 09:46:56
【问题描述】:

我正在使用 scalr 并尝试使用邮递员客户端访问 scalr api,但出现错误:

 {

  "meta": {
        "requestId": "63b814f1-f885-48cc-85d6-762e524e0bfb"
      },
      "errors": [
        {
          "code": "BadAuthentication",
          "message": "Unsigned request"
        }
      ]
    }

对于 scalr api,他们给出了 Access keyid:xxxxxxx 和密钥:xxxxxxxx 所以我使用基本身份验证进行身份验证过程并给出:

username:(scale key id)
password:(scalr secret_key)

Scalr api 与 scalr api 接口一起工作正常,但与邮递员客户端一起抛出错误。 请建议我有什么问题。

【问题讨论】:

    标签: postman scalr


    【解决方案1】:

    如果您使用的是 Scalr 开源中当前可用的 API v1(已弃用),您需要从您的用户配置文件中获取签名为 described in the documentation

    如果您使用的是支持当前 API v2 的 Scalar Enterprise,则在 API Explorer 中描述了身份验证。

    【讨论】:

      猜你喜欢
      • 2020-08-03
      • 1970-01-01
      • 2015-04-15
      • 2022-10-22
      • 2017-06-29
      • 2016-06-30
      • 1970-01-01
      • 1970-01-01
      • 2020-11-24
      相关资源
      最近更新 更多