How to export specific request to file using postman?

后端 未结 6 1952
醉梦人生
醉梦人生 2020-12-24 11:15

I want to export one specific request from postman extension (chromium) and send it to another developer so that they can import it. How I can do this?

6条回答
  •  一生所求
    2020-12-24 11:48

    The workaround is to export the collection as explained in other answers or references. This will export all requests in that collection to JSON file.

    Then edit the JSON file to remove the requests you do not want using any editor; this is very simple.

    Look for "item" collection in file. This contains all your requests; one in each item. Remove the items you do not want to keep.

    If you import this edited file in Postman where original collection already exists, Postman will ask you if you want to replace it or create a copy. If you want to avoid this, you may consider changing "_postman_id" and "name" under "info". If original collection will not exist while importing edited collection, then this change is not needed.

提交回复
热议问题