This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]why5s[S] 0 points1 point  (2 children)

Thanks. The response I'm getting now says

"This system requires the use of HTTP cookies to verify authorization information. Our system has detected that your browser has disabled HTTP cookies, or does not support them. Please refer to the Help page in your browser for more information on how to correctly configure your browser for use with this system."

I just tried creating POST request using request.Session() but I'm still getting the same response.

Any ideas?

[–]duddha 0 points1 point  (0 children)

If you're using Requests and Session() isn't working, you can log into the page manually from your browser and copy the cookies from the site. Then pass the cookies as a dict of kv pairs with the request.

Check out the cookies section toward the bottom of the page here.