http GET from restdb.io
Posted: Tue Nov 27, 2018 6:50 am
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
Have anyone been able to connect to restdb.io or any other server with sha256 certificate?
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?