... const message = 'Hello world!'; const phoneNumber = 'RECIPIENT_PHONE_NUMBER'; axios.post(`http://${nasIpAddress}:${port}/webapi/entry.cgi`, { api: 'SYNO.SMS.Send', version: 1, method: 'send', message: message, to_number: phoneNumber, account: username, passwd: password }) .then(response ...