mirror of
https://github.com/tenrok/axios.git
synced 2026-06-14 18:42:33 +03:00
Add OPTIONS-method as a shortcut
This commit is contained in:
@@ -142,6 +142,7 @@ For convenience aliases have been provided for all supported request methods.
|
||||
##### axios.post(url[, data[, config]])
|
||||
##### axios.put(url[, data[, config]])
|
||||
##### axios.patch(url[, data[, config]])
|
||||
##### axios.options(url[, data[, config]])
|
||||
|
||||
###### NOTE
|
||||
When using the alias methods `url`, `method`, and `data` properties don't need to be specified in config.
|
||||
|
||||
Reference in New Issue
Block a user