mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
Add DELETE to list of methods that allow data as a config option (#2169)
This commit is contained in:
committed by
Emily Morehouse
parent
6b0ccd13fa
commit
5250e6e168
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user