If I wanted to send post request to a website with my username and password data manually via a python function. Is it possible? If so what would some example code be.
Below is some half-assed code as I have no experience with http requests
:
import requests
payload = {"username":"anton","password":"password"}
r = requests.post('https://www.walmart.com/account/login', data = payload)
print(r.text)