SMS API HTTP

Joao Paulo Lino5 years ago

I have an SMS API where a link with user code and token is generated as an example below

http://MYDOMAIN/api_sms.php?code=1&token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

But I could not find the correct parameter to use and I tried all available here
https://www.traccar.org/http-sms-api/
and I modified several ways to try to make it work, but without success

Example My Used Parameters

<entry key='notificator.types'>web,mail,sms</entry>
<entry key='notifator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
<entry key='sms.http.url'>http://MYDOMAIN/api_sms.php?</entry>
<entry key='sms.http.user'>1</entry>
<entry key='sms.http.password'>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</entry>
<entry key='sms.http.template'>
    destination={phone}&amp;message={message}
</ entry>
Anton Tananaev5 years ago

Please don't duplicate your question everywhere.