Python Forum
[SOLVED] requests returning HTTP 404 when I follow a link after I do a POST
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] requests returning HTTP 404 when I follow a link after I do a POST
#7
I found the problem, the site wasn't blocking me, I was just not logged in. I'm trying to do a POST against "https://www.packtpub.com" as I can't find any /login, /signin path, but it isn't working as I wanted. To login manually one would need to visit the root site, click on "Log in" and then a bar will come from above with the fields. They don't seem to have a particular login page, so, how can I login using POST in this case?

[Image: E2xi9dt.png]

[Image: 2vrKXvP.png]
Reply


Messages In This Thread
RE: requests returning HTTP 404 when I follow a link after I do a POST - by JChris - Nov-13-2016, 08:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  POST requests - different requests return the same response Default_001 3 1,972 Mar-10-2022, 11:26 PM
Last Post: Default_001
  requests.post() does work Alto 1 2,037 Aug-13-2021, 07:58 AM
Last Post: ndc85430
  Follow Up: Web Calendar based Extraction AgileAVS 0 1,530 Feb-23-2020, 05:39 AM
Last Post: AgileAVS
  requests issue with post on dot_net api Heinrich 1 2,506 Jan-23-2020, 04:28 AM
Last Post: Larz60+
  Making several POST requests RayeEThompson507 1 2,631 Nov-25-2019, 08:50 PM
Last Post: micseydel
  requests post/get to HTML form mrdominikku 1 2,346 Nov-03-2019, 07:12 PM
Last Post: Larz60+
  get link and link text from table metulburr 5 6,344 Jun-13-2019, 07:50 PM
Last Post: snippsat
  Error in requests.post debanilroy 3 5,471 Sep-18-2018, 06:15 PM
Last Post: snippsat
  How do i loop through list of data from CSV file and post requests in aspx dynamics w Prince_Bhatia 1 6,109 Nov-09-2017, 02:53 PM
Last Post: heiner55

Forum Jump:

User Panel Messages

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