Own fork of MbedSmartRest
Dependents: MbedSmartRestMain MbedSmartRestMain
Fork of MbedSmartRest by
Diff: MbedClient.cpp
- Revision:
- 12:6634f9814235
- Parent:
- 11:e1bee9a77652
- Child:
- 14:56478403e340
--- a/MbedClient.cpp Sat Nov 15 11:21:01 2014 +0100 +++ b/MbedClient.cpp Sat Nov 15 11:37:14 2014 +0100 @@ -152,7 +152,7 @@ (_state != STATE_SENT_DATA)) return internalError(); - MBCL_DBG("Ending request. request."); + MBCL_DBG("Ending request."); if (_state != STATE_SENT_DATA) { // send end of headers @@ -232,7 +232,7 @@ MBCL_DBG("Sending request header."); if ((!send("POST ")) || (!send(uri)) || - (!send("HTTP/1.0\r\n")) || + (!send(" HTTP/1.0\r\n")) || (!send("Host: ")) || (!send(_host)) || (!send("\r\n")))