So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By cvg
#79292 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?