Hi,
Can anyone please help me with the following:
Clickatell expects:
https://api.clickatell.com/http/sendmsg?api_id=xxxx&user=xxxx&password=xxxx&to=xxxx&text=xxxx
I had hoped I could define this as follows in the HTTP-SMS-API (https://www.traccar.org/http-sms-api/):
<entry key='notificator.types'>web,mail,sms</entry>
<entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
<entry key='sms.http.url'>https://api.clickatell.com/http/sendmsg</entry>
<entry key='sms.http.template'>
[{
"api_id": xxxx,
"user": xxxx
"password: xxxx
"to": "{phone}",
"text": "{message}",
}]
</entry>
(Somehow the line-breaks got missing here)
Probably I have some of the command and/or syntax wrong
Any good ideas appreciated ;-)
Cheers, C.
You can't, unless it also supports POST with parameters in the payload.
Christian, did you figure this out? I need to do the same.
No, I stopped trying for different reasons. Sorry, C.
PS: Clickatells One-API documentation mentions it accepts push
Hi,
Can anyone please help me with the following:
Clickatell expects:
I had hoped I could define this as follows in the HTTP-SMS-API (https://www.traccar.org/http-sms-api/):
<entry key='notificator.types'>web,mail,sms</entry> <entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry> <entry key='sms.http.url'>https://api.clickatell.com/http/sendmsg</entry> <entry key='sms.http.template'> [{ "api_id": xxxx, "user": xxxx "password: xxxx "to": "{phone}", "text": "{message}", }] </entry>
(Somehow the line-breaks got missing here)
Probably I have some of the command and/or syntax wrong
Any good ideas appreciated ;-)
Cheers, C.