http client post python

import requests
pload = {'username':'Olivia','password':'123'}
r = requests.post('https://httpbin.org/post',data = pload)
print(r.text)

Here is what the above code is Doing:
1. We are creating a dictionary with the key-value pairs username and password.
2. We are using the requests.post() method to send a POST request to the URL https://httpbin.org/post.
3. We are sending the dictionary pload as the data parameter to the requests.post() method.
4. We are printing the response text to the console.