guild icon
Toit
#Help with HTTP library
Thread channel in help
Koirin
Koirin 10/24/2022 11:25 AM
I'm trying to use the HTTP package to get some JSON data from an API-endpoint and I keep getting this exception-error, "INTEGER_PARSING_ERROR".
I've attached the stack-trace.
The connection is with TLS, and I'm using proper certification etc. I can also send my code if that helps.
floitsch
floitsch 10/24/2022 11:26 AM
You are probably providing a host that contains "http:".
floitsch
floitsch 10/24/2022 11:26 AM
The currently released version doesn't support that yet. I think @erikcorry_arbat has already a local version that correctly removes the prefix.
Koirin
Koirin 10/24/2022 11:27 AM
You are correct, if I remove it though, I get this instead
floitsch
floitsch 10/24/2022 11:28 AM
Can you show me the host?
5 messages in total