VS Code extension: Thunder Client
If you have some REST API services in your project and use Postman to test them and like VS Code, you should check out Thunder Client. It is like postman embedded in the VS Code.
After installation, you will find the extension in the Activity bar (1). Then you can add collection and requests (2). Once you open a request, you set up everything in the tab that opens (3). The response is visible on the right side (4).
- You can import/export collections (it supports postman format as well).
- You can set up authentication on the collection level
- You can use environment variables
- You can save all the configurations to the local repository
For me especially, the last feature seems great. If you work in a team, you can now set up the API requests and examples and commit them. Then the rest of the team members just open the VS Code and use the Thunder Client without any additional setting up.
To achieve this, you should have .vscode/settings.json on your root and add these two settings:
"thunder-client.loadFromProject": true,
"thunder-client.workspaceRelativePath": "my-folder",
Thunder Client will create "thunder-tests" folder inside your "my-folder" and store environments and collections there.
- Previous: VS Code extension: Oracle
- Next: Oracle SQL*Plus