Overview

This guide shows how to install requests. requests is an HTTP library that can be used to make REST call to API and other various uses. It supports specifying Form Parameter, HTTP Header, content types and HTTP methods.

 

Prerequisites

 

Installation

01. Activate your virtual environment, or skip this step if not using virtual environment.

$ source {{virtual-env-directory}}/bin/activate

 

02. Install the requests package

(geek-venv) $ pip install requests

 

03. Verify that requests has been installed by viewing the version.

(geek-venv) $ pip freeze | grep requests

 

Previous Gadget Review: Best Wireless Keyboards
Next Best Practices For Cloud Storage Cost Optimization