Tag: sms verification

使用nodejs发送一个otp到所需的手机号码

我正在使用Plivo向用户发送短信otpvalidation,我无法更新手机号码和消息参数为不同的用户,这里是我的代码 global.params = { 'src': 'xx-xxxx', // Sender's phone number with country code 'dst' : '91'+'xxxxxxxxxx', // Receiver's phone Number with country code 'text' : "Hi, message from Plivo", // Your SMS Text Message – English 'url' : "https://intense-brook-8241.herokuapp.com/report/", // The URL to which with the status of the message is sent 'method' : "GET" […]