thingspark example
Dependencies: MbedJSONValue mbed-http HTS221
Diff: source/main-https.cpp
- Revision:
- 25:a8be9f3a530c
- Parent:
- 10:e79a808ebbe8
- Child:
- 28:9bccd981a393
--- a/source/main-https.cpp Wed Jan 03 11:26:52 2018 +0000
+++ b/source/main-https.cpp Thu Jan 11 14:39:11 2018 +0100
@@ -84,7 +84,7 @@
{
printf("\n----- HTTPS GET request -----\n");
- HttpsRequest* get_req = new HttpsRequest(network, SSL_CA_PEM, HTTP_GET, "https://developer.mbed.org/media/uploads/mbed_official/hello.txt");
+ HttpsRequest* get_req = new HttpsRequest(network, SSL_CA_PEM, HTTP_GET, "https://os.mbed.com/media/uploads/mbed_official/hello.txt");
get_req->set_debug(true);
HttpResponse* get_res = get_req->send();