- Download and install VS Code.
- Install the REST Client extension for VS Code from the marketplace.
- Adjust the environment variables in the settings.json file.
- Set the environment for the REST Client extension to "dev":
- Open the VS Code command palette by using the shortcut
Cmd+Shift+Por by navigating toView -> Command Palette. - Type "Rest Client: Switch Environment" in the command palette search bar and select it.
- Choose the "dev" environment from the available options.
- Open the VS Code command palette by using the shortcut
- Now you can run any requests using the REST Client extension.

To convert a Postman Collection to a REST Client, you can use the tool available at https://github.com/alfathdirk/postman-to-vscode-rest-client. Follow these steps to achieve it:
- Install the tool globally by running the command
npm -g i vsrest-postman-generator. - Execute the following command:
vsrest {file-postman}.json, where{file-postman}is the name of your Postman Collection file.