Fork HTTPClient and Modfiy code for mbed 6.0
Dependents: mbed-demo-http-get-json
Diff: HTTPClient.cpp
- Revision:
- 49:c5abb7ae070b
- Parent:
- 47:677677ac6443
- Child:
- 50:1c1409029b05
--- a/HTTPClient.cpp Wed Apr 03 22:00:31 2019 +0000 +++ b/HTTPClient.cpp Sun Jul 14 01:42:33 2019 +0000 @@ -588,7 +588,7 @@ return HTTP_OK; } -HTTPResult HTTPClient::send(const char* buf, size_t len) //0 on success, err code on failure +HTTPResult HTTPClient::send(char* buf, size_t len) //0 on success, err code on failure { if(len == 0) { len = strlen(buf);