Using mbed-http library I am able to run samples and properly connect to an HTTPS server that has a URL. However, when I try to use an IP address of that same website, the connection fails. How can I use an IP address instead of a URL? This is necessary to connect to local devices on my network that are not assigned URLs by the DNS server.
HttpsRequest* post_req = new HttpsRequest(network, SSL_CA_PEM, HTTP_POST, “https://188.8.131.52/post”);