I am trying to create a connector to the Kaiterra API. the authentication scheme asks to send your key in a URL parameter called key.
I am new to the Fantom WebClient class so am trying to figure out. Based on the postForm documentation, it looks like this does most of the work for sending parameters. When I run my code, I get the following:
como Fri 31 Aug 2018
Hello Fantom Users,
I am trying to create a connector to the Kaiterra API. the authentication scheme asks to send your key in a URL parameter called
key
.I am new to the Fantom WebClient class so am trying to figure out. Based on the postForm documentation, it looks like this does most of the work for sending parameters. When I run my code, I get the following:
The code is very simple, so maybe I am missing something.
I have python code that works as follows:
If anybody has any insight, would be appreciated. Thanks.
brian Fri 31 Aug 2018
It looks like the response is gzipped incorrectly.
I'd suggest using generic tool to dump the headers and see what they look like and if they server is saying the content is gzip encoded