diff --git a/lib/index.js b/lib/index.js index de3f103..44b9d6a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19,7 +19,7 @@ module.exports.create = function(config) { 'Content-Type': 'application/json' }, json: true, - form: form + body: form }; return request(req).then(function(resp) { if (2 !== Math.floor(resp.statusCode / 100)) {