Skip to content
Permalink
Browse files

Add DELETE to list of methods that allow data as a config option (#2169)

  • Loading branch information
sericaia authored and emilyemorehouse committed May 28, 2019
1 parent 6b0ccd1 commit 5250e6e168f22bf75f0643b21577ac7c4dc486b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 5250e6e

Please sign in to comment.
You can’t perform that action at this time.