Skip to content

Commit

Permalink
Merge pull request #1342 from alpancs/instance-bug-fix
Browse files Browse the repository at this point in the history
fix cannot send post method
  • Loading branch information
emilyemorehouse committed Feb 17, 2018
2 parents b6b0865 + 7a355ff commit 23ba296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/Axios.js
Expand Up @@ -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
Expand Down

0 comments on commit 23ba296

Please sign in to comment.