Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface-FRDM HTTPClient mbed-rtos mbed
Revision 4:68c5a3f49a48, committed 2015-02-07
- Comitter:
- wolfSSL
- Date:
- Sat Feb 07 19:14:32 2015 +0000
- Parent:
- 3:41412e91afb0
- Commit message:
- SERVER_IP
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Feb 07 19:12:32 2015 +0000
+++ b/main.cpp Sat Feb 07 19:14:32 2015 +0000
@@ -29,7 +29,7 @@
/*** HTTP ***/
printf("\nFetching HTTP\n");
- ret = http.get("http://192.168.1.12/574d76fcb/keys.txt", recvBuff, sizeof(recvBuff));
+ ret = http.get("http://SERVER_IP/574d76fcb/keys.txt", recvBuff, sizeof(recvBuff));
if (!ret) {
printf("Result: %s\n", recvBuff);
} else {
@@ -38,7 +38,7 @@
/*** HTTPS (SSL) ***/
printf("\nFetching HTTPS\n");
- ret = http.get("https://192.168.1.12/574d76fcb/keys.txt", recvBuff, sizeof(recvBuff));
+ ret = http.get("https://SERVER_IP/574d76fcb/keys.txt", recvBuff, sizeof(recvBuff));
if (!ret) {
printf("Result: %s\n", recvBuff);
} else {