Are you using the latest official release of Traccar? No customizations?
I'm using the customized 4.15 version plus the http sms api I keep it as the official one
You should try it on the latest official release.
just one more question like this works but putting {message} of the error can help me and some xml conversion to json?
let me know what I really need to put there?
<entry key='sms.http.url'>org.traccar.sms.HttpSmsClient</entry>
<entry key='sms.http.url'>https://http.wttz.com/394014db920b713a/rest/envio/VFYCSIA-5QNUP4I-UOCOMEQ-CC7TVXY/texto</entry>
<entry key='sms.http.template'>
{
"messageData": {
"numero": {phone},
"text": <b>"Test" <--- PASSING A STRING WORKS PASSING {message} the template breaks
}
}
</entry>
It works like this example via CURL:
Request URL
Response headers
this api accepts post in json format
I am using provider sms NotificatorSms me to integrate traccar?
<entry key='sms.http.url'>org.traccar.sms.HttpSmsClient</entry> <entry key='sms.http.url'>https://http.wttz.com/394014db920b713a/rest/envio/VFYCSIA-5QNUP4I-UOCOMEQ-CC7TVXY/texto</entry> <entry key='sms.http.template'> { "messageData": { "numero": "{phone}", "text": "{message}" } } </entry>
debugging gives the second error
I'm on the right track can you help me?????