Don't use Postman, use this VS Code extension @netcreed #shorts #vscode

preview_player
Показать описание
In this video, I will show you how to use the REST Client extension for Visual Studio Code to test HTTP endpoints in your server. This extension allows you to make requests to your server without leaving VS Code, which can be very convenient for debugging and testing.

Steps:

- Install the REST Client extension from the Visual Studio Code Marketplace.
- Create a new file with the .http extension.
- Add the method, URL, headers, and body of your request.
- Click the "Send Request" button to send the request.
- The response will be displayed in a new tab in VS Code.

Benefits:

- The REST Client extension is a convenient way to test HTTP endpoints without leaving VS Code.
- The extension allows you to view the response headers and body, which can be helpful for debugging and testing.
-The extension is easy to use and can be set up in just a few minutes.
Рекомендации по теме
Комментарии
Автор

Its showing "the connection was rejected" can you plz tell how to resolve this

sunilrathor