From the course: Visual Studio Code for Python Developers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

REST Client

REST Client

From the course: Visual Studio Code for Python Developers

Start my 1-month free trial

REST Client

- [Instructor] A very common programming task in Python is to retrieve data from, or post data to a web service. This process is usually accompanied by making several test calls to the service to understand the format of the returned data and maybe experiment with the API. There's an extension called Rest Client that makes it easier to try out and experiment with these kinds of web API endpoints. So in the extension view here in .vscode I'm going to search for Rest Client and this is the extension that we want right here so I'll go ahead and install that. Alright, once it's installed we'll clear the search and go back to the files. To use the extension, you can just create regular HTTP requests in plain text and then run them like any other code. So here in the chapter 04_03 folder I'm going to create a new file, and I'm going to rename it Test. Now I can either tell .vscode that this is an HTTP file by choosing HTTP from the status bar control that's down here in the lower right-hand…

Contents