Commit 1956604e by jay

sms api changes

1 parent 21db1a8a
......@@ -205,16 +205,16 @@ module.exports = factories.createCoreController(
);
ctx.request.body.data.httpSMSRequestHeaders = JSON.stringify(
spretoOTP.spertoEmailResponse.headers
spretoOTP.spertoSMSResponse.headers
);
ctx.request.body.data.httpSMSRequestMethod =
spretoOTP.spertoEmailResponse.config.method;
spretoOTP.spertoSMSResponse.config.method;
ctx.request.body.data.httpSMSRequestUrl =
spretoOTP.spertoEmailResponse.config.url;
spretoOTP.spertoSMSResponse.config.url;
ctx.request.body.data.httpsSMSRequestBody =
spretoOTP.spertoEmailResponse.config.data;
spretoOTP.spertoSMSResponse.config.data;
ctx.request.body.data.httpSMSResposneBody = JSON.stringify(
spretoOTP.spertoEmailResponse.data
spretoOTP.spertoSMSResponse.data
);
ctx.request.body.data.thirdPartyApiError = false;
......
......@@ -120,3 +120,5 @@ module.exports = createCoreService(
// // }})
// })
// );
// http://vas.themultimedia.in/domestic/sendsms/bulksms.php?username=OSAPI&password=os123456&type=TEXT&sender=HROTPs&entityId=1101407690000029629&templateId=1507166789848358346&mobile=${data.mobileNo}&message=Dear%20${data.fullName}%0AYour%20OTP%20for%20Hiranandani%20Exclusive%20website%20login%20is%20${data.emailToSend.oneTimePassword}%0AValid%20for%2010%20minute%20Please%20do%20not%20share%20this%20OTP.%0ARegards%2C%0AHiranandani%20Team.
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!