[Total: 0 Average: 0/5]
Thunder Consumer is a free VS Code extension to make API requests contained in the editor. Right here it enables you to make GET, POST, PUT, DELETE, OPTIONS like requests within the RFC 2616 normal type. You simply kind the API URL with any command and it’ll routinely establish it. It reveals you the entire response within the editor itself and you might be free to stack a number of API requests. Other than simply making API calls, you should utilize this extension to make GraphQL queries as effectively. Within the API request, you should utilize cURL instructions and you may specify headers together with physique and authentication kind of parameters.
In the event you usually should test, run, and debug APIs then you definately’ve received a really good VS Code extension for that. Right here it even helps setting variables and you may learn them with this simply by way of easy course of. The editor would be the UI for the API requests and it’ll open a facet pane the place you possibly can see the response API returns. It doesn’t matter what endpoints you need to use, it is possible for you to to ship information to it because it helps all of the requests strategies. It even enables you to open Tabs within the Motion Bar View for fast entry.
Utilizing this Postman Various for VS Code to Make API Requests: Thunder Consumer
You merely begin by installing this extension from VS Code marketplace after which merely use it in any tab.
Open any tab after which kind an API request with any methodology. For instance, to ship a GET request you should utilize the next syntax. As you write this within the editor, a “Ship Request” possibility will routinely seem. You possibly can see the screenshot to see extra about the way it works.
In the same means, you are able to do a POST request and it’ll present the response contained in the pane on the fitting.
If you know the way to make GraphQL requests then the method could be very comparable. neutral construct a GraphQL question and ship it to the tip level and similar to the easy API, it is going to present you the corresponding response on the fitting pane.
On this means, you possibly can construct and take a look at API requests in VS Code with out leaving the editor. In the event you use Postman like instruments throughout growth then you definately received’t want them when you’ve this extension. Though it will possibly’t totally exchange them, it is going to get most of your work completed in one of many best methods doable. The Better part is that you would be able to stack up a number of API requests and execute them to get the response shortly.
There are various API request builder and comparable instruments that you should utilize rather than Postman, however this extension right here takes that to an entire new stage. I favored the truth that I can now take a look at APIs proper inside VS Code editor.