Use body instead of form for post request #3

Open
Ghost wants to merge 1 commits from (deleted):hpx7/fix-post-request into master
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {