This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please STAR this gist if it worked for you 💜 | |
Visual Studio 2019 Enterprise | |
BF8Y8-GN2QH-T84XB-QVY3B-RC4DF | |
Visual Studio 2019 Professional | |
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="jquery-2.1.4.min.js"></script> | |
<script type="text/javascript"> | |
function sendOTP() { | |
var data = JSON.stringify({countryCode: "country code", mobileNumber: "Mobile number to be verified"}); | |
$.ajax({ | |
url: 'https://sendotp.msg91.com/api/generateOTP', | |
type: 'POST', | |
crossDomain: true, | |
processData: false, | |
contentType: 'application/json', |