Python Requests Modules

 Requests Module:

Request Module is used for sending the HTTP request means its simplify the way to send the data to HTTP request and handles back the response.

By using request method you can perform the CRUD operation easily.


HTTP request methods are GET, POST, PUT, PATCH, and DELETE.


Installation of Requests Modules:

By pip:

pip install requests


By Cloning the source code:

git clone git://github.com/psf/requests.git

After download the package , you have to copy the package inside your package directory

then 

cd requests

pip install


Ways to check the Requests module successfully installed:

1. pip list -- This will list out all the module installed in your kernel.

2. pip freeze > requirements.txt -- This will write all the modules installed in your kernel to requirements.txt.


Lets start Some practical in Jupyter Notebooks:



This Blog only contain the Simple Get operation with request modules . In further blog will be going more deep inside the requests modules.

So lets started our learning with RK27 ...




Comments

Popular posts from this blog

Python Virtual Environment Concept