-->
Page 1 of 1

http GET from restdb.io

PostPosted: Tue Nov 27, 2018 6:50 am
by cvg
Hi,

I'm trying to access to an API in restdb.io which is over https. I've tryed almost every code i've found but i can't connect to the server :? :? :?


Code: Select all    http.begin("https://xxxxxxxxxxx.restdb.io/rest/xxxxxxx", root_ca); //Specify the URL and certificate
    http.addHeader("cache-control", "no-cache");
    http.addHeader("x-apikey", "xxxxxxxxxx");
    int httpCode = http.GET()



Have anyone been able to connect to restdb.io or any other server with sha256 certificate?

Re: http GET from restdb.io

PostPosted: Tue Mar 26, 2019 3:20 am
by Marco3396
Hi, can I ask you how did you get the certificate to make this request? I should do the same operation as nodemcu with lua. Thank you