We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb5c4a6 commit 65db3aeCopy full SHA for 65db3ae
libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp
@@ -354,6 +354,14 @@ int HTTPClient::GET()
354
{
355
return sendRequest("GET");
356
}
357
+/**
358
+ * send a DELETE request
359
+ * @return http code
360
+ */
361
+int HTTPClient::DELETE()
362
+{
363
+ return sendRequest("DELETE");
364
+}
365
366
/**
367
* sends a post request to the server
libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h
@@ -187,6 +187,7 @@ class HTTPClient
187
188
/// request handling
189
int GET();
190
+ int DELETE();
191
int POST(const uint8_t* payload, size_t size);
192
int POST(const String& payload);
193
int PUT(const uint8_t* payload, size_t size);
0 commit comments