in reply to [SOLVED] Basic HTTP problems
sid = req.text[-32:]
I don't speak python so don't know what this is doing but as there's no reference to "32" anywhere in your Perl code perhaps it is something which needs to be addressed.
See the Basic Debugging Checklist for more info. Print data sent before every request (particularly that auth - seems an obvious place for something to go wrong) and $res->code for every response until you nail it down.
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Basic HTTP problems
by Fletch (Bishop) on Feb 05, 2021 at 14:16 UTC | |
|
Re^2: Basic HTTP problems
by choroba (Cardinal) on Feb 05, 2021 at 14:16 UTC |