diff --git a/src/projections/projectionsClient.js b/src/projections/projectionsClient.js index eecefc8..e30d7ae 100644 --- a/src/projections/projectionsClient.js +++ b/src/projections/projectionsClient.js @@ -139,6 +139,7 @@ ProjectionsClient.prototype.request = function(method, _url, data, userCredentia }); req.on('error', reject); if (data) { + req.setHeader('Content-Length', data.length); req.setHeader('Content-Type', 'application/json'); req.write(data); }