In the basic service , in the register-yourself service , when the incoming request comes with no requestBody , the following adjustments shall be made in the controller,
if (Object.keys(req.body).length === 0) {
body = req.body;
user = req.headers["user"];
originator = req.headers["originator"];
xCorrelator = req.headers["x-correlator"];
traceIndicator = req.headers["trace-indicator"];
customerJourney = req.headers["customer-journey"];
}
In the basic service , in the register-yourself service , when the incoming request comes with no requestBody , the following adjustments shall be made in the controller,