in functions/source/CreateIncidentByPhone/index.js [51:60]
var getData = function (params, key) {
var get_request = https.request(params.get_options, function (res) {
var body = '';
res.on('data', chunk => body += chunk);
res.on('end', () => params.execute(key, params, body));
res.on('error', e => context.fail('error:' + e.message));
});
get_request.write(params.get_data);
get_request.end();
};