I don't know what the API is for your provider, but most likely this is incorrect.
The provider is expecting a url like this:
https://service.speakup.nl/msgbroker/?username=[username]&password=[password]&originator=[originator]&recipients=[recipients]&message=[message]
The username, password and originator is alwys the same so i can put this in the url.
the recipients is the 06 number of the gps tracker
message is the message i whant to send to the gps tracker.
so i whas thinking that sms.http.url can be the first part of the url
And in the sms template the rest of the fariable like phone number and message.
and in the
Then what you configured is obviously incorrect. We don't support this currently.
I have the sms api and it is working with a post.
SMS api: https://api.speakup.nl/msgbroker/docs
First i have to login then i get a bearer token and with that token i can send a sms.
What i se in de documention is that this way, first login and use the token to send sms messages not supported in the traccar.
Yes, but you can probably get a token manually first and then configure it in Traccar.
I did not test that but for safte reasons i think i always get a new token.
and the token will expire after x time
I don't see anything about the token expiration in their documentation.
every time i login i get en new code
And?
Is that no problem?
so i login one time take the token put it in traccar and if there is somthing not i always have to know, mebay it is the token.
Is that the best way to go??
The best in what way? If it works, then it work.
The best way is that the systems dos it for me way, becos the system knows when it is not working the system gets a error message if the token is not ok, or if the message is not send.
so way not let the system login an take the token put it in the right plase and sends the sms wait for the 200 OK and done
If i make a feature request will it be made?
It's unlikely that we will implement something like this.
Ok, so the way to go is login take the token put it in the xml file.
I will take e new trunk so the chanse that the token wil change is smalle.
Thank you
I dos any one know if this is the way to go:
<entry key='sms.http.url'>https://service.speakup.nl/msgbroker/?username=username&password=password&originator=0658726563</entry> <entry key='sms.http.template'> recipients={phone}&message={message} </entry>