2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Merge pull request #461 from theikkila/master

Add OPTIONS-method as a shortcut
This commit is contained in:
Nick Uraltsev
2017-03-26 21:06:24 -07:00
committed by GitHub
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -140,6 +140,7 @@ For convenience aliases have been provided for all supported request methods.
##### axios.get(url[, config])
##### axios.delete(url[, config])
##### axios.head(url[, config])
##### axios.options(url[, config])
##### axios.post(url[, data[, config]])
##### axios.put(url[, data[, config]])
##### axios.patch(url[, data[, config]])
@@ -176,6 +177,7 @@ The available instance methods are listed below. The specified config will be me
##### axios#get(url[, config])
##### axios#delete(url[, config])
##### axios#head(url[, config])
##### axios#options(url[, config])
##### axios#post(url[, data[, config]])
##### axios#put(url[, data[, config]])
##### axios#patch(url[, data[, config]])