Rest Client for Visual StudioIMPORTANT: This extension can only be installed in Visual Studio 2022 up until version 17.4. In version 17.5 support for .http files were built in to Visual Studio. Download this extension from the VS Marketplace or get the CI build. REST Client allows you to send HTTP request and view the response in Visual Studio directly. Based on the popular VS Code extension Rest Client by Huachao Mao The .http fileAny files with the extension Here's an example of how to define the requests with variables and code comments.
This is what it looks like in the Blue Theme. Notice the green play buttons showing up after each URL. Clicking those will fire off the request and display the raw response on the right side of the document. You can also right-click to find the Send Request command or use the Ctrl+Alt+S keyboard shortcut. You can set the timeout of the HTTP requests from the Options dialog. How can I help?If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace. Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist. Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited. Another way to help out is to sponser me on GitHub. |