Hello together,
Some time ago I found the free app “Traccar SMS Gateway Server” for Android. With it, SMS can be sent via HTTP request. Traccar SMS Gateway for Android - Traccar
The requests are sent in the form:
POST / HTTP/1.1
Authorisation: XXXXXXXX
Host: IP
Content-Type: application/json
Content-Length: 43
{"to": "phone",
"message": "Content"}
Unfortunately, I am not able to integrate the interface into SWAG. I suspect that the header is not being transferred correctly, or something similar. In any case, I only get a white page when I call it up.
Maybe someone has an idea. Thanks in advance.
Translated with www.DeepL.com/Translator (free version)