Salesforce Case Generator for mbed

Revision:
4:f506cc61e09e
Parent:
3:8ad19b204ddf
Child:
5:09d5df94e8ae
--- a/SalesForceCaseGenerator.cpp	Wed Aug 27 18:09:46 2014 +0000
+++ b/SalesForceCaseGenerator.cpp	Wed Aug 27 18:29:55 2014 +0000
@@ -54,18 +54,18 @@
      this->m_http.setSSLversion(1) ; /* TLSv1.0 */
           
      // POST the case and check the response
-     this->m_logger->log("Sending Request...");
+     this->m_logger->log("Posting new Case...");
      int ret = this->m_http.post(DF_CASE_GEN_URL,new_case,&http_result);
      if (!ret) {
         this->m_logger->log("Parsing Reply...");
         success = this->contains(result,"status","ok");
         if (success) 
-            this->m_logger->log("Case generated successfully");
+            this->m_logger->log("Case generation SUCCESS");
         else 
             this->m_logger->log("Case generation FAILED");
      }
      else {
-        this->m_logger->log("Failed to send request");
+        this->m_logger->log("Failed to post case");
      }
      
      // return our status