http client post python

import requests
pload = {'username':'Olivia','password':'123'}
r ='',data = pload)

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 method to send a POST request to the URL
3. We are sending the dictionary pload as the data parameter to the method.
4. We are printing the response text to the console.