You can use the Postman VS Code extension to create and send HTTP, raw WebSocket, and gRPC requests.
Requests sent in the VS Code extension appear in your workspace's request history in both the VS Code extension and the Postman app.
To create and send an HTTP request, do the following:
Select a workspace from the workspace dropdown menu in the sidebar.
You can also create a new workspace from the VS Code extension.
Click the request dropdown menu in the sidebar, then select HTTP to use Postman's REST client.
If you selected HTTP from the request dropdown menu, you can create another HTTP request by clicking New HTTP Request in the sidebar.
Specify the details you need for your request.
Click Send.
To learn more about creating and sending HTTP requests in Postman, see Send API requests and get response data in Postman.
You can also use the
Postman: Create a new HTTP Request
command from the Command Palette to create a request.
To create and send a raw WebSocket or gRPC requests, do the following:
When you create a request, click the request dropdown menu first, and select WebSocket or gRPC instead of HTTP.
For Postman's WebSocket client:
ws://
or wss://
.For Postman's gRPC client:
To learn more about creating and sending WebSocket requests in Postman, see Create a WebSocket Request. To learn more about creating and sending gRPC requests in Postman, see Invoke a gRPC request in Postman.
You can send requests that were sent with the VS Code extension or the Postman app.
You can use the Postman Console to troubleshoot your requests. You can also use the Console to debug pre-request scripts and tests scripts, logging output to the Console. To open the Postman Console, click Open Postman console at the top of the sidebar.
You can convert an API request into a code snippet in the language of your choice. Available languages and frameworks include cURL, Node.js, Python, and more.
To generate a code snippet, open an HTTP request, then click Code (below Send). Select a language or framework from the dropdown list, then copy the code snippet to your clipboard.
You can add a custom CA certificate to connect to an API that uses a certificate registered with an internal certificate registry, without needing to turn off SSL verification in your request. You can also add a client certificate to connect to an API that uses Mutual TLS (mTLS) authentication. Certificates added to Postman are stored locally and aren't synced to the Postman cloud.
To access certificates, do the following:
To learn about adding and managing certificates in Postman, see Add and manage CA and client certificates in Postman.
You can view and edit cookies associated with different domains. You can then use the cookies stored in the cookie jar when sending HTTP requests in Postman.
To manage cookies in the VS Code extension, open an HTTP request, then select Cookies (below Send).
You can also open the cookie editor with the
Postman: Open cookies editor
command in the Command Palette.
To learn more about using cookies in Postman, see Create and capture cookies using Postman's cookie manager.
Last modified: 2025/07/25