![]() |
|
[Python] Requests/Status code - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Requests/Status code (/showthread.php?tid=6109580) |
Requests/Status code - SIM-4173254 - Sep 16, 2020 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.
RE: Requests/Status code - Harley Quinn - Sep 16, 2020 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. RE: Requests/Status code - SIM-4173254 - Sep 16, 2020 (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? RE: Requests/Status code - Harley Quinn - Sep 16, 2020 (Sep 16, 2020 09:17 AM)wormblack Wrote: may i pm you my code? Of course you can, i'm online for a bit now RE: Requests/Status code - DopplerAF - Sep 17, 2020 Check if you have correct headers, cookies and CSRF tokens if they are using one. RE: Requests/Status code - SIM-4173254 - Sep 18, 2020 solved by Harley Quinn thank you |