If it is possible to export collection from Postman, then it means that it is also possible for developers to import collection into Postman. Importing Postman collections allows you to have the necessary materials you need to complete your projects. However, unlike other Postman processes, importing collection is simple and straightforward as everything you need is explicitly displayed. Like in our previous blogs, this writeup offers a step-to-step guide detailing how to import collection into Postman.
- 1 A Guide to Importing Collection into Postman
- 1.1 1. Navigate to where you’ve saved the Postman application and open it
- 1.2 2. Select the Type of Import Method that you want to use.
- 1.3 In a nutshell, you can import a Postman collection through these steps:
- 2 Conclusion
- 3 How do you Export Postman Collection to OpenAPI?
A Guide to Importing Collection into Postman
Once your app is open, look for the file tab and click on it to open a dropdown menu. In the dropdown menu, look for the import icon and hit it.
2. Select the Type of Import Method that you want to use.
Once you hit the import button, a dialogue box will pop-up on your desktop.
As seen in the image above, programmers have various methods that they can utilize to import collection. These include:
- Importing the file
- Importing the folder
- Importing through link
- Pasting the raw text
Importing the File
This works the same way as uploading something to a website such as Google Drive.
- Click the choose file icon, and navigate to the place where you have kept your collections.
- Select the file you want to copy, and once you press open, the file will be imported automatically into Postman.
- Alternatively, you can find the file you want to move in your system, drag and drop it on the space panel provided. The collection will be uploaded into the Postman automatically.
Importing the Folder
Although this method works similarly to the one above, the only difference is that it allows you to upload several collections, contrary to importing a single collection.
- Create a folder in your system and add all the collections you want to import into it.
- Drag the folder containing the and drop it on the Postman’s panel. The folder will be uploaded automatically with all its contents. If a similar collection exists in Postman, you’ll be asked to create a copy or replace it.
Importing via Link
This is mainly used when working with teams using Team workspace or Postman cloud. Usually, all group members are offered a link, which they can use to access a specific collection. This method works using the same principle.
- Please copy the link of the collection you want to import and paste it into the dialog box.
- Using the link, the collection will be imported into Postman automatically.
Pasting the Raw Text
This method is used to import other types of files besides collections. This includes the likes of RAML, curl, and many others. The technique allows you to import a file by pasting a raw text coding like RAML in the dialog box. However, since this method can’t be used to import collections, we won’t go into depths on how it works.
In a nutshell, you can import a Postman collection through these steps:
- Click the file icon on your Postman app.
- Select import
- Choose the file/collection you want to import
- Hit the open button, and your file/collection will be imported automatically. You can also drag the file and drop the file in Postman’s import panel, and it will be imported automatically.
As an integral building block of Postman, collections help programmers develop massive projects by allowing the proper management and maintenance of API requests. If you’ve been wondering how the import feature in Postman is used, we bet you can now use it to your satisfaction, as explained in this piece.
How do you Export Postman Collection to OpenAPI?
- Go to APITransform.com & click “Upload Postman Collection”
- Fill out some basic information
- Upload your Postman Collection
- Click “Convert to OpenAPI”