postman - 为什么 Postman 会更改保存的 API 请求

标签 postman

我正在使用 Postman 来测试 API,并且喜欢它的 GUI 和易用性。但它所做的一些事情对我来说是完全无法理解的。示例:我将 API 请求保存到集合中。过了一段时间,我试着记忆它,它已经改变了。为什么?

场景:针对 ElasticSearch API 进行测试

  1. 获取_cat/索引。
  2. 保存到 ElasticSearch 集合。
  3. 发送其他 ES API 请求。
  4. 删除索引:DELETE/index0
  5. 调用已保存的_cat/indices
  6. 而是调用 DELETE/index0。为什么?

最佳答案

您可能在“设置”->“常规”中关闭了“关闭未保存的标签页时始终询问”选项。关闭此功能后,不需要您点击“保存”,关闭选项卡时会自动保存。

关于postman - 为什么 Postman 会更改保存的 API 请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56761876/

相关文章:

c# - 错误请求 400 从 API 补丁方法返回

rest - 如何使用多部分使用 Postman 将文件上传到 Google 驱动器?

postman - 在每次调用 Postman 集合中的文件夹之前,是否有任何 Newman 选项可以附加测试/预请求脚本

c# - Postman - 找到多个与 Web Api 中的请求匹配的操作

java - 无法在 postman 中发布照片 - 无可用消息, postman 中出现错误 404

json - postman 正在将我的正文从 application/json 更改为 string

javascript - 为什么PostMan在100行代码后总是显示 "too many errors"?

mongodb - 如何将Mongoose验证错误传递给JSON for Postman

rest - 如何从postman中的API下载excel(.xls)文件?

docker - Newman Docker 错误 : unknown option `--url'