code: function handleRequestBody(request) {
          var body = "";
          request.on('data', function(chunk) {
              body += chunk.toString();
          });
          return new Promise(function (fulfill, reject) {
              request.on('end', function () {
                  fulfill(body);
              });
          });
      }
docs: / downloading of request body