1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-09-11 05:52:31 +03:00

Add HTTP delete method (#8214)

This commit is contained in:
behrooz bozorg chami
2021-09-01 21:12:19 +04:30
committed by GitHub
parent fb5c4a6420
commit 65db3aec72
2 changed files with 9 additions and 0 deletions

View File

@@ -354,6 +354,14 @@ int HTTPClient::GET()
{
return sendRequest("GET");
}
/**
* send a DELETE request
* @return http code
*/
int HTTPClient::DELETE()
{
return sendRequest("DELETE");
}
/**
* sends a post request to the server