![]() ![]() ![]() ![]() The tool's home page lists an almost equally dizzying number of supported protocols, and more information: Unzipping it produces just two files - curl.exe and ca-bundle.crt - that need to be placed in a directory so the executable is in the path of your terminal window.Īs far as versatility, you can find a dizzying array of potential use cases on the " Manual - curl usage explained" page. The free, open source curl tool, originally developed by Daniel Stenberg 20 years ago (see Wikipedia page), is extremely versatile and super simple to install.įor me, on a 64-bit Windows 7 machine, installation was as quick as going to the download page and finding the correct package for that configuration. Rather than having to exit VS Code and go to a browser to see a URL - say "" - and view the results, I can just quickly go to the terminal window - right below my code - and type: curl. With the integrated terminal window in VS Code, this oft-repeated task becomes much faster. Specifically, this reporter has found it useful for quickly testing the results of a REST API call.įor example, when wrestling with how to display JSON data in a list view, I want to make sure the URL I'm using for a GET request to a REST API is actually returning data and see exactly how that JSON data is presented. While mostly known for its use in Linux-based development, the versatile curl tool for transferring data over HTTPS can be a nifty timesaver when using Visual Studio Code on Windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |