Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Requests/Status code

Posting this in python as im working in python for the project


when I visit a (twitch) channel I get all of these requests to the cdn/api and a request is made to video-edge(...). however, when I try to emulate this all myself I get a 400 status code instead of the 204 on the browser.

[Image: cee08c216e.png]
Do you have a code snippet we could see, are you using headers and what information are you sending in the request, any example will do.
"Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime"
(Sep 16, 2020 08:02 AM)Harley Quinn Wrote:  Do you have a code snippet we could see, are you using headers and what information are you sending in the request, any example will do.

may i pm you my code?
(Sep 16, 2020 09:17 AM)SIM-4173254 Wrote:  may i pm you my code?

Of course you can, i'm online for a bit now
"Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime"
Check if you have correct headers, cookies and CSRF tokens if they are using one.
solved by Harley Quinn thank you


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by evilgnomeJan 11, 2022 05:39 AM 2 195 Jan 11, 2022 05:39 AM
Last Post: Charger
[C#] by DotexeAug 5, 2017 04:23 PM 0 154 Aug 5, 2017 04:23 PM
Last Post: Dotexe
[.NET] by Egregious Jr.Nov 8, 2016 02:03 PM 15 291 Nov 8, 2016 02:03 PM
Last Post: Egregious Jr.