Search⌘ K
AI Features

Diving In

Explore the fundamentals of HTTP web services and how Python's httplib2 library provides a simple and effective way to interact with remote servers using standard HTTP methods like GET, POST, PUT, and DELETE.

We'll cover the following...

Philosophically, I can describe HTTP web services in 12 words: exchanging data with remote servers using nothing but the operations of HTTP. If you want to get data from the server, use HTTP GET. If you want to send new data to the server, use HTTP POST. Some more advanced HTTP web service apis also allow creating, modifying, and deleting data, using HTTP PUT and HTTP DELETE. That’s it. No registries, no envelopes, no wrappers, no tunneling. The “verbs” built into the HTTP protocol (GET, POST, PUT, and DELETE) map directly to application-level ...