1import requests
2
3# Making a PATCH request
4r = requests.patch('https://httpbin.org / patch', data ={'key':'value'})
5
6# check status code for response recieved
7# success code - 200
8print(r)
9
10# print content of request
11print(r.content)
12