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:
@@ -26,6 +26,7 @@ function getDefaultAdapter() {
|
||||
}
|
||||
|
||||
var defaults = {
|
||||
method: 'get',
|
||||
adapter: getDefaultAdapter(),
|
||||
|
||||
transformRequest: [function transformRequest(data, headers) {
|
||||
|
||||
Reference in New Issue
Block a user