Python Networking #1
HTTP (Hypertext Transfer Protocol) is the protocol used to transfer data over the internet. Python provides several modules for working with HTTP, including the built-in http.client
module, the popular requests
library, urllib
package and the asyncio-based aiohttp
library. In this project, we will get our hands dirty with urllib and request.
Lets jump right in
Read or watch:
- How to fetch internet resources using the urrlib library
- Quickstart with the requests package
- Requests package
- Youtube
By the end of this project, you are expected to explain to anyone Without the help of Google:
- How to fetch internet resources with the Python package
urllib
- How to decode
urllib
body response - How to use the Python package
requests
#requestsiswaysimplerthanurllib - How to make HTTP
GET
request - How to make HTTP
POST/PUT
/etc. request - How to fetch JSON resources
- How to manipulate data from an external service