A simple CLI app using Python click
and requests
libraries that:
- Takes a URL from the user
- Validates the URL
- Makes a GET request
- Displays status code
- Optionally shows the content of the response
Install required libraries with:
pip install click requests validators
Make sure you're in the project directory, then run:
python cli-req.py
Faeiz Hamdard GitHub Profile