Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: HTTPTransport.cpp
- Revision:
- 23:793b2898522e
- Parent:
- 21:d1ce325d1d32
diff -r f1002e5993c5 -r 793b2898522e HTTPTransport.cpp
--- a/HTTPTransport.cpp Thu Feb 27 23:33:24 2014 +0000
+++ b/HTTPTransport.cpp Fri Feb 28 02:52:04 2014 +0000
@@ -55,14 +55,14 @@
// Load up our endpoint into the IOC
bool HTTPTransport::loadEndpoint(char *data,int data_length,char *result,int result_length) {
- this->logger()->log("loadEndpoint: %s",data);
+ //this->logger()->log("loadEndpoint: %s",data);
data = this->packageData("POST",data,0);
return this->httpPost(this->createIOCLoadURL(),data,strlen(data),result,result_length);
}
// update our endpoint with the IOC
bool HTTPTransport::updateEndpoint(int ioc_id,char *data,int data_length,char *result,int result_length) {
- this->logger()->log("updateEndpoint: %s",data);
+ //this->logger()->log("updateEndpoint: %s",data);
data = this->packageData("PUT",data,ioc_id);
return this->httpPut(this->createIOCUpdateURL(ioc_id),data,strlen(data),result,result_length);
}