Appearance
Send Scheduled SMS GET METHOD
Example
Using Code
js
const apikey = "1W3N4KHD28YCBL8M7WDG0L11N73FP28JKD5SOKD2D4KXJKCKMF"
const from = "ICSMS"
const to = "0570120200,0562123456"
const message = "Test"
const type = "scheduled"
const expectedDeliveryTime = "2021-07-29 06:30:10"
const config = {
method: "GET",
headers: {
Authorization: `Bearer ${apikey}`,
Accept: "application/json",
},
};
url = `https://api.icsms.net/sendsms?apikey=${apikey}&from=${from}&message=${message}&to=${to}&type=${type}&expectedDeliveryTime=${expectedDeliveryTime}`
fetch(url, config)
.then(res=>{
res.json()
}).then(data=>{
console.log(data)
})