@@ -75,7 +75,7 @@ class HttpClient : public Client
7575 int post (const char * aURLPath);
7676 int post (const String& aURLPath);
7777
78- /* * Connect to the server and start to send a POST request
78+ /* * Connect to the server and send a POST request
7979 with body and content type
8080 @param aURLPath Url to request
8181 @param aContentType Content type of request body
@@ -93,7 +93,7 @@ class HttpClient : public Client
9393 int put (const char * aURLPath);
9494 int put (const String& aURLPath);
9595
96- /* * Connect to the server and start to send a PUT request
96+ /* * Connect to the server and send a PUT request
9797 with body and content type
9898 @param aURLPath Url to request
9999 @param aContentType Content type of request body
@@ -111,7 +111,7 @@ class HttpClient : public Client
111111 int del (const char * aURLPath);
112112 int del (const String& aURLPath);
113113
114- /* * Connect to the server and start to send a DELETE request
114+ /* * Connect to the server and send a DELETE request
115115 with body and content type
116116 @param aURLPath Url to request
117117 @param aContentType Content type of request body
@@ -123,6 +123,7 @@ class HttpClient : public Client
123123 int del (const char * aURLPath, const char * aContentType, int aContentLength, const byte aBody[]);
124124
125125 /* * Connect to the server and start to send the request.
126+ If a body is provided, the entire request (including headers and body) will be sent
126127 @param aURLPath Url to request
127128 @param aHttpMethod Type of HTTP request to make, e.g. "GET", "POST", etc.
128129 @param aContentType Content type of request body (optional)
0 commit comments