Example program demonstrating use of HTTP or HTTPS protocol over a cellular connection with httpbin.org using the MTSAS library. (Demonstrates GET,POST,basic-auth)

Dependencies:   mbed mtsas

Revision:
12:df8e80235b1b
Parent:
11:47de28c1746b
Child:
13:1a26efe2c843
--- a/main.cpp	Wed Mar 25 20:31:36 2015 +0000
+++ b/main.cpp	Wed Mar 25 20:38:19 2015 +0000
@@ -195,7 +195,7 @@
     //Sets the baud rate for communicating with the radio
     io->baud(115200); 
     
-    MTSLog::setLogLevel(MTSLog::TRACE_LEVEL);
+    MTSLog::setLogLevel(MTSLog::INFO_LEVEL);
     
     //Initialize radio configurations
     Cellular* radio = CellularFactory::create(io);
@@ -317,6 +317,7 @@
     res = http->basicAuth(NULL,NULL);
     logTrace("Reset username and password?: %s",httpResToStr(res));
     
+    logInfo("End of example code\n");
     return 0;
 }