如何解决Postman导入提示”invalid import format(s)“的问题

发布时间:2021-07-12 11:14:23 作者:chen
来源:亿速云 阅读:1861

这篇文章主要讲解了“如何解决Postman导入提示”invalid import format(s)“的问题”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“如何解决Postman导入提示”invalid import format(s)“的问题”吧!

postman导入集合json提示如下错误:

如何解决Postman导入提示”invalid import format(s)“的问题

1 invalid import format(s)

Postman Collection Format v1 is no longer supported and can not be imported directly. You may   convert your collection to Format v2   and try importing again.

解决:

npm需要安装node

windows打开”命令提示符“

 npm install -g postman-collection-transformer
postman-collection-transformer convert -i <path to input Postman collection file> -o <path where the output Postman file will be downloaded> -j 1.0.0 -p 2.0.0 -P

举例如当前目录有btcs.postman_collection.json,换成v2版本  btcs2.postman_collection.json

执行如下命令:

postman-collection-transformer convert -i btcs.postman_collection.json -o btcs2.postman_collection.json -j 1.0.0 -p 2.0.0 -P

感谢各位的阅读,以上就是“如何解决Postman导入提示”invalid import format(s)“的问题”的内容了,经过本文的学习后,相信大家对如何解决Postman导入提示”invalid import format(s)“的问题这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是亿速云,小编将为大家推送更多相关知识点的文章,欢迎关注!

推荐阅读:
  1. pycharm 导入模块的时候额外加入模块的方法
  2. 如何解决pyqt5异常退出无提示信息的问题

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

postman

上一篇:iOS中NSTimer循环引用的示例分析

下一篇:go.cqrs中AggregateRoot的用法

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》