Skip to content
Sign upLog in

What does this even do?

Profile icon

So I wrote this Python script. My goal is to fill out a form automatically. I wrote a script that sends an HTTP POST request to a form by using the following code:

res = requests.get('form url', headers=headers) # headers = the username and password for the form print(res)

This gives me: <Response 200>.
I'm not entirely sure what to make of this.
Was the form submitted successfully?

You are viewing a single comment. View All
Profile icon

Maybe print the content of the response back?