Integrating the ublox LISA C200 modem
Fork of SprintUSBModemHTTPClientTest by
Diff: main.cpp
- Revision:
- 13:c920eb6774de
- Parent:
- 11:3baeddcea132
- Child:
- 14:cd53f77f8afe
--- a/main.cpp Mon Sep 30 17:49:48 2013 -0500 +++ b/main.cpp Tue Oct 01 21:39:27 2013 +0000 @@ -3,6 +3,9 @@ #include "HTTPClient.h" char const *msg = "need another reason to merge\n"; +//char const *URL = "http://mbed.org/"; +//char const *URL = "https://www.google.com/"; +char const *URL = "http://httpbin.org/ip"; void test(void const*) { @@ -24,7 +27,7 @@ //GET data printf("Trying to fetch page...\r\n"); - ret = http.get("http://mbed.org/media/uploads/donatien/hello.txt", str, 128); + ret = http.get(URL, str, 128); if (!ret) { printf("Page fetched successfully - read %d characters\r\n", strlen(str));