Skip to content

Latest commit

 

History

History

0x11-python-network_1

img

Python Networking #1

About

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

Resources

Read or watch:

  1. How to fetch internet resources using the urrlib library
  2. Quickstart with the requests package
  3. Requests package
  4. Youtube
  5. Google

Learning objectives

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