1
0

Use body instead of form for post request

Dieser Commit ist enthalten in:
hpx7 2021-07-08 17:55:56 +00:00
Ursprung 9f86ee8d32
Commit 0ec9e21de6

Datei anzeigen

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