mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-01 02:54:25 +02:00
updated URL in example to new mbed domain
This commit is contained in:
@@ -14,7 +14,7 @@ int main()
|
|||||||
|
|
||||||
//GET data
|
//GET data
|
||||||
printf("\nTrying to fetch page...\n");
|
printf("\nTrying to fetch page...\n");
|
||||||
int ret = http.get("http://mbed.org/media/uploads/donatien/hello.txt", str, 128);
|
int ret = http.get("https://developer.mbed.org/media/uploads/donatien/hello.txt", str, 128);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
printf("Page fetched successfully - read %d characters\n", strlen(str));
|
printf("Page fetched successfully - read %d characters\n", strlen(str));
|
||||||
|
Reference in New Issue
Block a user