Comm.makeJsonRequest and https

Former Member
Former Member
Hi,

Im trying to make a simple call to a API which is https only. The method requires a accesstoken, which I add like this:
Comm.makeJsonRequest(url,
{
"access_token" => "52b6b1581b7759710304b77a|644b691510848295a2acc6300141205a"
}, {}, method(:onReceive));

the url is an https://mywebsite.com/api/myMethod

But the call fails with a 404 error. Does Android Connect Mobile support https?
  • For completeness and for future reference, here's a follow up in terms of my issue.

    I do not know which SSL ciphers are supported by Connect IQ specifically (and I didn't have time to check) but in my case I had a overly hardened Apache server supported only fiver ciphers, with the following Apache config:

    SSLCipherSuite "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-GCM-SHA384"


    When I loosened the server up a bit, matching the list of supported ciphers to that of the working test site -- https://httpbin.org -- then my HTTPS requests from COnnect IQ worked Fine. The modified Apache config was as follows:

    SSLCipherSuite "ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS"