Movatterモバイル変換


[0]ホーム

URL:


Import Postman data using the Postman VS Code extension

You can import collections and environments that wereexported from Postman. You can also import requests using a cURL command.

To learn more, seeImport data into Postman.

Import Postman data

To import data, do the following:

  1. ClickImport iconImport at the top of the sidebar.

  2. Choose how you’d like to import your data:

    • cURL - Enter your curl command. The Postman VS Code extension opens the request in a new tab. Make sure to save the request to a collection.

      You canconvert a Postman request to a curl command and import it using the curl command.

    • File - Select collection or environment files. If you’re importing a single file, the VS Code extension imports it after you select it.

    • Folder - Select a folder that has multiple collection or environment files.

    • .env files - The VS Code extension detects.env files in your API project that haven’t been imported into Postman. When you select this option, Postman checks for new.env files that you haven’t imported yet. You’ll receive an in-app notification if no new files are detected. Learn aboutimporting environment variables into a new environment in Postman.

  3. If you’re importing multiple files or a folder, select the checkbox next to the files you want to import, then clickImport.

You can also use thePostman: Import command from theCommand Palette to import data.

Last modified: 2025/08/22



[8]ページ先頭

©2009-2025 Movatter.jp