新创建的环境未显示在邮递员本机应用程序上 [英] Newly created environment not showing up on postman native app

查看:88
本文介绍了新创建的环境未显示在邮递员本机应用程序上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用邮递员本机应用程序,但使用邮递员API创建环境以避免手动操作。我可以使用以下命令成功创建环境:

I'm using postman native app but creating the environment using the postman API to avoid a manual step. I was successfully able to create the environment using the following:

POST- https://api.getpostman.com/environments

{
    "environment": {
        "name": "My New Environment",
        "values": [
            {"key": "variable_name_1", "value": "my_value"},
            {"key": "variable_name_2", "value": "my_other_value"}
        ]
    }
}

但是,新创建的环境并未显示在本机应用程序的环境下拉列表中(即使在同步完成后也是如此)。

But, the newly created environment is not being displayed in the native app's environment's dropdown (even after the sync is complete).

是否有人遇到过类似的问题以及如何解决此问题的指针?

Did anyone experience a similar issue and any pointers on how to resolve it ?

谢谢

推荐答案

好,我尝试使用相同的调用添加环境,但我注意到一件事-该环境是在另一个工作空间中创建的,而不是我发送的环境来自的请求。看起来像是邮递员中的错误。尝试仔细检查所有工作区,再次单击同步按钮。

OK, I tried adding the environment using the same call and I noticed one thing - the environment is created in ANOTHER workspace than the one I was sending the request from. Looks like a bug in Postman. Try double checking into ALL of your workspaces , clicking on "Sync" button again.

这篇关于新创建的环境未显示在邮递员本机应用程序上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆