我正在使用一个反应应用程序,在这方面,我想传递一个邮递员集合链接并在邮递员 Web 应用程序中打开该邮递员集合。有什么办法可以试试吗?
<a href="https://go.postman.co/build/workspace" target="_blank">
<Button color="primary" autoFocus> Postman Web </Button>
</a>
这是我到目前为止尝试过的代码段。在这里我只能打开邮递员网络应用程序。
我正在使用一个反应应用程序,在这方面,我想传递一个邮递员集合链接并在邮递员 Web 应用程序中打开该邮递员集合。有什么办法可以试试吗?
<a href="https://go.postman.co/build/workspace" target="_blank">
<Button color="primary" autoFocus> Postman Web </Button>
</a>
这是我到目前为止尝试过的代码段。在这里我只能打开邮递员网络应用程序。
您应该使用以下网址在网络或桌面应用程序中打开邮递员集合
https://app.getpostman.com/run-collection/{collection_id}
{collection_id}
应该替换为收藏的id,可以通过右键收藏>分享收藏>获取公共链接找到
举个例子
https://app.getpostman.com/run-collection/da59a9e562ac8d63a635
我们只能打开具有公共链接的集合。要获取公共链接,我们必须首先将集合上传到邮递员应用程序。然后我们可以从邮递员服务器获得一个 id。
然后,
https://app.getpostman.com/run-collection/{collection_id}
上面的代码可以在我们的应用程序中使用。