0.1.1 • Published 2 years ago

ut-port-infosys v0.1.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

ut-port-infosys

Sending SMS with infosys system.

In order to use the module you need to add the following configuration

"infosys": {
        "logLevel": "error",
        "url": "proto://gatewayIp:port",
        "uri": "/sms/2/text/single",
        "method": "POST",
        "raw": {
            "headers": {
                "Authorization": "Basic base64(string)"
            }
        }
    }

and then call it with

await importMethod('infosys.send')({
    body,
    messageId,
    to
});