![]() ![]() Note: You can either paste your requests into a Plaintext window where you’ll need to highlight the request and press the Send Request keyboard shortcut ( Ctrl+Alt+R for Windows, or Cmd+Alt+R for macOS) or set the tab’s Language Mode to HTTP where a “Send Request” will appear above the HTTP request. The easiest form of an HTTP request you can send is to paste in a normal HTTP GET URL like so: To give you a firm grasp of why you should consider adding REST Client to your tool chain, here are a few of the features that particularly stood out to me, organised in an easily consumable list format, because we all like lists: No BS request building Simply create a new tab, paste in your raw HTTP request (ensuring the tab’s Language Mode is set to either HTTP or Plaintext, more on this later) and in no time at all you’ll see a “Send Request” button appear above your HTTP request allowing you to execute the request as is, no further modifications are required to tell REST Client how to parse or format. REST Client for Visual Studio CodeĪfter installing REST Client the first thing I noticed was how elegant it is. ![]() This lead me to a discussion on Twitter where Darrel Miller recommended I check out the REST Client extension for Visual Studio Code. However there have always been features I felt were missing, one such feature was the ability to copy and paste a raw RFC 2616 compliant HTTP request including request method, headers and body directly into Postman and fire it off without the need to manually tweak the request. For sometime now I’ve been a huge proponent of Postman, working in an environment that has a large number of remote services meant Postman’s ease of generating requests, the ability to manage collections, view historic requests and so forth made it my goto tool for hand crafted HTTP requests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |