Skip to content

Commit

Permalink
Add DELETE to list of methods that allow data as a config option (#2169)
Browse files Browse the repository at this point in the history
  • Loading branch information
sericaia authored and emilyemorehouse committed May 28, 2019
1 parent 6b0ccd1 commit 5250e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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.
Expand Down

0 comments on commit 5250e6e

Please sign in to comment.