httpgoogle-apps-scriptroutesrequesthttp-delete

Can Google Apps Script handle HTTP DELETE requests?


It handles GET and POST requests just fine, via the respective doGet() & doPost() request handler functions. But what about DELETE requests? Is there some kind of implementation of a doDelete() function? My particular use case requires that I can send and receive a response from a DELETE request, in addition to POST and GET.


Solution

  • According to https://developers.google.com/apps-script/guides/web there is no doDelete or something similar, only doPost and doGet.