From the course: Python: XML, JSON, and the Web
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using httpbin.org - Python Tutorial
From the course: Python: XML, JSON, and the Web
Using httpbin.org
- [Instructor] In this course, I'm going to use a free online tool called httpbin to test the various examples I've written to access web-based data sources. This tool can be found online at httpbin.org. And keep in mind, this tool might have a different appearance when you view it than it does at the time of this recording. So this tool provides a set of URL endpoints that you can use to test various ways of working with http. So for example, if I expand the http methods section here, you can see that there are different options for trying out different http verbs. So if I click on the get option, I'm presented with some options for trying out a get request. So I'll click on try it out, and there are no parameters for this particular test, so I'll just simply click the execute button, and if I scroll down here a little bit, you can see the result. So here's the 200 response code, and here's the response body that comes back from the test request, and this is a set of json data with…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.