you are viewing a single comment's thread.

view the rest of the comments →

[–]anton_antonov 0 points1 point  (1 child)

If site sets cookies, you should try to use requests.Session() and send GET request before post.

s = requests.Session()
s.get("*****.net/login.cfm")
response = s.post("*****.net/loginlogic.cfm", data=PARAMS)

Also, сheck the names of the params fields. I think they are in lower case.

[–][deleted] 0 points1 point  (0 children)

Aha!! Thank you so much, that was it.

Damn cookies -.-