Delivers patented phone-based verification and two-factor authentication using a time-based, one-time passcode sent over SMS
To utilize unirest for node.js install the the npm module:
$ npm install unirest
After installing the npm package you can now start simplifying requests like so:
var unirest = require('unirest');
unirest.post("https://telesign-telesign-send-sms-verification-code-v1.p.rapidapi.com/sms-verification-code?appName=undefined") .header("X-RapidAPI-Key", "undefined") .header("Content-Type", "application/x-www-form-urlencoded") .end(function (result) { console.log(result.status, result.headers, result.body); });