In Python, the `requests` library is commonly used to make HTTP requests. It abstracts the complexities of making requests behind a beautiful, simple API so that you can focus on interacting with services and consuming data in your application.
Firstly, you need to install the requests library. You can install it via pip:
```
pip install requests
```
Here is a simple example of making a GET HTTP request:
```
import requests
response = requests.get(‘https://jsonplaceholder.typicode.com/posts’)
Note that in this example, `https://jsonplaceholder.typicode.com/posts` is a placeholder API which returns JSON data.
Here is a simple example of making a POST HTTP request:
```
import requests
response = requests.post(‘https://jsonplaceholder.typicode.com/posts’, data = {‘key’:‘value’})
In this example, `data` is the payload that you want to send. It can be a dictionary, a list of tuples, bytes, or a file-like object.
Please note that the `json()` method is used to convert the response to a json format. If the server doesn’t return a json response, then a simple `response.text` or `response.content` can be used to get the server’s response.