Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Api request redirect url
#1
Hello,
I need some help with getting data from the website of my internet provider.
First I think I need to do a postrequest with my username and password as payload.
[Image: request1.png]
But I don’t get a response header with the Location and I think I need this url for the next step of authentication.
[Image: request2.png]

Thanks for the help!
Reply
#2
The login use OAuth then you need more stuff like a token,look at Requests-OAuthlib or link
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Redirect uri mismatch github in django SubratP 0 1,645 Oct-04-2021, 05:04 PM
Last Post: SubratP
  redirect to page rwahdan 1 1,786 Aug-16-2021, 10:05 AM
Last Post: Larz60+
  Redirect in Python vj78 5 3,812 Apr-03-2021, 10:47 AM
Last Post: snippsat
  Redirect Url calancathy 2 3,290 Jan-13-2020, 11:54 AM
Last Post: calancathy
  Flask redirect(request.url) returns None iFunKtion 1 10,502 Nov-27-2018, 10:50 PM
Last Post: nilamo
  Django don't redirect to an external url PeppePegasus 0 4,471 Dec-07-2017, 02:25 PM
Last Post: PeppePegasus

Forum Jump:

User Panel Messages

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