【问题标题】:" Could not send request " error in Postman Web versionPostman Web 版本中的“无法发送请求”错误
【发布时间】:2021-07-12 16:00:01
【问题描述】:

我使用的是 postman 网页版。
我在url = localhost:3000/students 上使用 POST 发送请求 但它给出了错误:

Could not send request
Cloud Agent Error: Can not send requests to localhost. Select a different agent.

请帮忙怎么办:(

【问题讨论】:

  • 您好,请回答您的问题:stackoverflow.com/questions/49130558/…
  • 我认为这是 Postman 的一个新限制,让人们使用桌面版本。过去它确实有效。
  • 你没有解决办法吗?

标签: javascript html node.js express postman


【解决方案1】:

邮递员网站无法向您计算机的本地主机发送请求。首先需要使用 Postman 桌面客户端连接到您的 PC。你可以下载它here。运行它,然后在浏览器中转到 Postman 工作区 -> 发送请求,它就会工作。

【讨论】:

    【解决方案2】:

    我遇到了同样的问题,邮递员网页版无法向本地主机发送请求。 . 所以我只是使用桌面版的邮递员,它可以工作

    【讨论】:

      【解决方案3】:

      这里的错误非常清楚。 Cloud Agent Error: Can not send requests to localhost. Select a different agent.

      Postman 网页版无法向本地 PC(localhost)上运行的服务器发送请求。为了向 localhost URL 发送请求,您需要安装 Postman 桌面客户端。

      【讨论】:

        【解决方案4】:

        我最近也遇到了同样的问题。只需使用 postman 桌面应用程序,登录后,可以毫无问题地执行 post/get 等请求。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 2019-06-21
          • 2021-06-24
          • 2010-12-27
          • 2022-12-08
          • 2017-10-26
          • 2023-03-16
          • 1970-01-01
          相关资源
          最近更新 更多