Hi Thomas,
We use express framework with node. Given below are the versions:
node version: 8.1.0
express version: 4.17.0
cls-hooked: 4.2.2 as middleware for creating session context
Given below is how we are making service calls:
var options = {
method: 'POST',
uri: 'http://' + server_host + ':' + server_port + '/' + called_service_id + '/' + method_name,
qs: {
trxn_id: trxn_id,
client_id: service_id
},
body: req,
json: true,
timeout: TIMEOUT_MSEC
};
Please tell if I need to provide any more information.
Thanks,
Shashank