2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

fix cannot send post method

This commit is contained in:
Alfan Nur Fauzan
2018-02-07 12:47:24 +07:00
parent 604e8dd860
commit 7a355ff432
+1 -1
View File
@@ -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