2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

allowing default method for an instance

This commit is contained in:
ahmed ayoub
2017-10-10 21:17:37 +02:00
parent 26b06391f8
commit 6566598603
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -26,6 +26,7 @@ function getDefaultAdapter() {
}
var defaults = {
method: 'get',
adapter: getDefaultAdapter(),
transformRequest: [function transformRequest(data, headers) {