postman怎么保存为postman格式
时间: 2023-10-17 09:32:39 浏览: 121
要将数据保存为Postman格式,你可以按照以下步骤进行操作:
1. 右击New Collection再点击"export",会下载一个名为 "*.json.postman_collection"的文件。(此文件可直接导入到Postman中)
2. 在Postman中点击Collections页签,然后点击New Collection创建一个新的集合,并进行重命名,这可以作为你的项目名称
3. 如果你想保存接口数据,需要先将数据拼成json格式的字符串。你可以使用以下示例作为参考:
```json
[
{
"qeq": "0",
"eqewq": "0",
"eqewqe": "3212",
"dada": "https://din2g-dev.com/app/bidW2321",
"eqew": "BJ_TENCE2NT_CLOUD",
"caFileInfo": {
"format1": [],
"cpConfig1": [],
"browserConfig1": []
},
"fileDeleteList": [],
"fileIds": [],
"industryType": ""
}
]
```
将你的数据按照以上格式进行拼接,并保存为一个json字符串。
这样你就可以将你的数据保存为Postman格式了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Postman(5): postman持久化保存](https://blog.csdn.net/qq_51524329/article/details/126368168)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [用postman保存数据,postman调用post接口,用postman造数据,postman使用教程](https://blog.csdn.net/weixin_44867635/article/details/121288539)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文