我如何使用邮递员发送HTTP 200响应

问题描述 投票:0回答:1

我创建了一个Slack应用程序,该应用程序具有一个模式窗口以接收来自我的用户的信息。我使用Postman通过HTTP请求与Slack进行“交互”。一切工作正常,但是我无法关闭Slack的模式窗口。我知道当用户单击模式的“提交”按钮时,必须发送HTTP 200到备用服务器。邮递员正在接收Slack的有效载荷以及所有用户的输入信息,但是现在我需要关闭该模式窗口。那么,如何使用Postman响应HTTP 200?

该解决方案可以使用Postman的用户界面或功能pm.sendRequest(....

有人可以帮我使用邮递员发送HTTP 200 OK吗?

谢谢!

postman httpresponse slack
1个回答
0
投票

这是我通过邮递员桌面应用程序发送GET请求的方式。

Prerequisites


1. Install Postman
2. API URL // endpoint
3. Live server //localhost needs a server to start the app

enter image description here

@ MarceloRohrs让我知道进度

© www.soinside.com 2019 - 2024. All rights reserved.