Skip to content

Instantly share code, notes, and snippets.

View ranjithkumar8352's full-sized avatar

Ranjith kumar ranjithkumar8352

View GitHub Profile
@ranjithkumar8352
ranjithkumar8352 / smsClient.js
Last active July 27, 2024 04:17
Send TextLocal SMS using Node.js
//This code was posted for an article at https://codingislove.com/send-sms-developers/
const axios = require("axios");
const tlClient = axios.create({
baseURL: "https://api.textlocal.in/",
params: {
apiKey: "YOUR API KEY", //Text local api key
sender: "6 CHARACTER SENDER ID"
}