Python Forum
Requests needs cookies for login
Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Requests needs cookies for login
#2
You might need to make a GET (or HEAD, if requests/the server handle that) request to get a session id, and then pass that to the url you're POSTing to. As it is, you're not sending any cookies, so you need to do something to get a cookie that the server will accept.
Reply


Messages In This Thread
Requests needs cookies for login - by justasug - Jul-26-2017, 08:30 AM
RE: Requests needs cookies for login - by nilamo - Jul-26-2017, 04:23 PM
RE: Requests needs cookies for login - by justasug - Jul-27-2017, 08:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to accept facebook cookies using python selenium? pablo86ad 0 436 Apr-06-2024, 09:19 PM
Last Post: pablo86ad
  in a login interface when i try login with a user supposed to say test123 but nothing NullAdmin 3 2,444 Feb-20-2021, 04:43 AM
Last Post: bowlofred
  Retrieving Cookies whois1230 2 2,312 Nov-21-2020, 12:01 PM
Last Post: snippsat
  Cookies Donald 3 2,967 Apr-15-2020, 07:06 AM
Last Post: DPaul

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020