mirror of
https://github.com/tenrok/axios.git
synced 2026-05-30 15:24:11 +03:00
Merge pull request #1342 from alpancs/instance-bug-fix
fix cannot send post method
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ Axios.prototype.request = function request(config) {
|
||||
}, arguments[1]);
|
||||
}
|
||||
|
||||
config = utils.merge(defaults, this.defaults, { method: 'get' }, config);
|
||||
config = utils.merge(defaults, {method: 'get'}, this.defaults, config);
|
||||
config.method = config.method.toLowerCase();
|
||||
|
||||
// Hook up interceptors middleware
|
||||
|
||||
Reference in New Issue
Block a user