【问题标题】:Postman file uploading: the file path became missing when I close the request tab邮递员文件上传:关闭请求选项卡时文件路径丢失
【发布时间】:2018-08-08 14:36:24
【问题描述】:

我正在通过 PUT 请求上传文件,并将我的文件作为 Binary 放入 Body 请求中: https://i.stack.imgur.com/GXuMa.png

问题是,一旦我关闭请求选项卡并尝试运行Runner,文件路径就会丢失,因此无法运行Runner

这是我的意思的截屏视频:http://take.ms/ptLCT

有没有办法将文件路径保存在请求正文中?

提前感谢您的任何建议!

【问题讨论】:

    标签: api file-upload postman postman-collection-runner


    【解决方案1】:

    这似乎是一个尚未解决的long standing issue with postman。看来你可以通过using newman instead(邮递员命令行运行程序)来解决它。或者查看Insomnia REST client,它似乎支持这一点。

    【讨论】:

      猜你喜欢
      • 2018-10-22
      • 2018-06-25
      • 2021-12-01
      • 2022-08-20
      • 2021-10-13
      • 1970-01-01
      • 2019-07-25
      • 1970-01-01
      • 2015-01-14
      相关资源
      最近更新 更多