From 5250e6e168f22bf75f0643b21577ac7c4dc486b9 Mon Sep 17 00:00:00 2001 From: Daniela Borges Matos de Carvalho Date: Tue, 28 May 2019 17:57:09 +0100 Subject: [PATCH] Add DELETE to list of methods that allow data as a config option (#2169) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 45583c9..346f429 100755 --- a/README.md +++ b/README.md @@ -244,7 +244,7 @@ These are the available config options for making requests. Only the `url` is re baseURL: 'https://some-domain.com/api/', // `transformRequest` allows changes to the request data before it is sent to the server - // This is only applicable for request methods 'PUT', 'POST', and 'PATCH' + // This is only applicable for request methods 'PUT', 'POST', 'PATCH' and 'DELETE' // The last function in the array must return a string or an instance of Buffer, ArrayBuffer, // FormData or Stream // You may modify the headers object.