test
Dependencies: C027 HTTPClient UbloxUSBModem mbed
Fork of C027_HTTPClientTest by
Revision 17:99b8b4aa577b, committed 2014-03-06
- Comitter:
- vwochnik
- Date:
- Thu Mar 06 21:42:57 2014 +0000
- Parent:
- 13:bcdb607b2c76
- Commit message:
- fix
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r bcdb607b2c76 -r 99b8b4aa577b main.cpp --- 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);