2
0
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:
Teemu Heikkilä
2016-09-29 18:54:17 +03:00
parent d982cf9932
commit 2e0adc1cae
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -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.