problem with connection | Thales IoT Developer Community
July 15, 2019 - 9:13pm, 9740 views
Hello good afternoon.
I am trying to establish a Https GET connection, with a midlet in java.
I get an exception in httpConn.getResponseCode ();
What I want is to know if I have to configure something with the at commands.
AT ^ SICS = 0, "conType", "gprs0"
at ^ siss = 0, srvType, http
?
and I want to know if there is any way to know that I have an internet connection, and that the apn I enter is valid.
Hello,
HTTP client over AT commands only supports simple HTTP authentication. But it is possible to add own values to HTTP header.
In Java there is also a simple HTTP client where you can add your own request propertie to the HTTP header. We do not provide APIs for JWT and OAuth.
But we are now on application layer so I believe that it is possible to implement it.
Regards,
Bartłomiej