Movatterモバイル変換


[0]ホーム

URL:


Import data into Postman

You can import collections, API definitions, and other data files so you can work with them in Postman.

To import your data into Postman, clickImport in the sidebar. You can import your data from files, folders, cURL commands, raw text, or URLs. You can also import data from other sources such as code repositories, API gateways, API clients, and application performance management tools.

Import data into Postman

You can also import items by dragging and dropping files or folders into Postman.

Import Postman data

You can import data that wasexported from Postman, including collections, environments, globals, and data dumps. Postman will automatically recognize Postman data on import.

For Postman Free plans, you can only import a maximum of five collections per minute if each collection is greater than 500 KB in size. If you encounter this limit, you can continue to import collections that are each less than 500 KB in size.

  1. ClickImport in the sidebar.

  2. Do one of the following:

  3. If you’re importing multiple files, select the files you want to import, then clickImport.

    Import Postman data

    If you are importing a single file, Postman imports it after you select it.

  4. AnImport Complete message displays in the footer. In the message, clickOpen in Postman iconGo to Collection next to a collection or environment to open the imported element.

    Import complete message

Convert Postman collections from v1 to v2

Postman no longer supports the collection v1 format and will return an error if you import a collection in this format. You can convert your collection’s format from v1 to v2 to import it into Postman.

To convert your collection’s format from v1 to v2, do the following:

  1. In your terminal, enter the following command to install the Postman Collection Transformer.

    sudonpminstall-g postman-collection-transformer
  2. Convert an individual Postman Collection from v1 to v2 by entering this command:

    postman-collection-transformer convert-i<path to the input Postman Collection file>-o<path to the downloaded Postman file>-j1.0.0-p2.0.0-P

The resulting collection is written to your target file path in v2 format.

You can retrieve a list ofconvert options by running the command with the-h option:

postman-collection-transformer convert-h

Go to thePostman Collection Transformer for more information about collection conversion.

Migrate from other API Clients

Postman can import requests, environments, and other data from the following API clients:

Import from cURL commands

To learn more about using cURL commands to import data, go toImport cURL commands.

Import API definitions

Learn more aboutimporting your API definitions into the Postman API Builder. You can also learn aboutimporting your API specifications in OpenAPI 3.0 or AsyncAPI 2.0 format into Spec Hub.

Last modified: 2025/03/03



[8]ページ先頭

©2009-2025 Movatter.jp