test
Dependencies: C027 HTTPClient UbloxUSBModem mbed
Fork of C027_HTTPClientTest by
Diff: main.cpp
- Revision:
- 17:99b8b4aa577b
- Parent:
- 13:bcdb607b2c76
--- a/main.cpp Mon Mar 03 16:47:10 2014 +0000 +++ b/main.cpp Thu Mar 06 21:42:57 2014 +0000 @@ -30,6 +30,7 @@ //HTTPText data("23123123lala"); printf("Trying to post data...\n"); ret = http.post("http://nocore.info:8888/", data, &text); + if (!ret) { printf("Executed POST successfully - read %d characters\n", strlen(str)); printf("Result: %s\n", str);