【问题标题】:Postman convert cUrl to query (import doesn't work)邮递员将 cUrl 转换为查询(导入不起作用)
【发布时间】:2017-08-09 06:18:35
【问题描述】:

我在尝试将下面的 cURL (oauth2) 转换为邮递员查询时遇到问题

curl https://ssl.xxxxx.xxxx/auth/oauth/token --data
'grant_type=client_credentials' --user
xxxclient_idxxxxx:xxxxxclient_secretxxxx

您有任何解决方案如何将其转换为邮递员查询。我已经尝试过导入选项,但它没有用。终端中的 cURL 工作正常。

【问题讨论】:

    标签: curl postman


    【解决方案1】:

    导入这个cURL

    curl https://xxxclient_idxxxxx:xxxxxclient_secretxxxx@ssl.xxxxx.xxxx/auth/oauth/token --data
    'grant_type=client_credentials'
    

    --user 需要传入 URL protocol://username:password@host:port

    【讨论】:

      猜你喜欢
      • 2019-10-14
      • 2018-07-18
      • 2017-08-21
      • 1970-01-01
      • 2017-11-27
      • 2018-03-05
      • 1970-01-01
      • 2020-06-15
      • 1970-01-01
      相关资源
      最近更新 更多