postman - 如何使用 Postman 发送 HTTP 200 响应
问题描述
我创建了一个 Slack 应用程序,它有一个模式窗口来接收来自我的用户的信息。我使用 Postman 通过 HTTP 请求与 Slack “交互”。一切正常,但我无法关闭 Slack 的模式窗口。我知道当用户单击模式的提交按钮时,我必须发送一个 HTTP 200 来松弛。Postman 正在接收包含所有用户输入信息的 Slack 有效负载,但现在我需要关闭该模式窗口。那么,如何使用 Postman 响应 HTTP 200?
该解决方案可以使用 Postman 的用户界面或函数 pm.sendRequest(....
有人可以帮我使用 Postman 发送 HTTP 200 OK 吗?
谢谢!
解决方案
推荐阅读
- google-assistant-sdk - 500. 这是一个错误。当我一开始就向服务器验证 Google Assistant SDK 时
- python - 使用 Python 装饰器跟踪递归深度
- sql - SQL .where 查询生成奇怪的结果(Rails)
- swift - 在 .body 的 textStyle 上使用 UIFontMetrics 错误
- javascript - javascript减少数组中对象的多个键
- html - 将第一个和最后一个孩子的边界半径设置为零?
- java - Java 中的后期静态绑定
- javascript - Javascript:在 Map() 与 Object 中找到最高值
- css - 更改仅反映在具有相同类名的许多 div 中的一个 div
- sql - SQL - 获取两行之间包含值的行