注册送短信

DEMO: InternationalSMS/Verifyphonenumber - 国际号码归属地国家查询

var request = require('request');
var crypto = require('crypto');
var api = "https://api-v4.mysubmail.com/service/verifyphonenumber";


​ //示例
​ request.post({
​ url: api,
​ formData: {
​ to : "+998"
​ }
​ }, function optionalCallback(err, httpResponse, body) {
​ if (err) {
​ return console.error(err);
​ }
​ console.log(body);
​ });