It's not supported.
It's done thank you.
this is the code and configuration:
    <entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
    <entry key='sms.http.url'>https://bms.xxxx.sy/API/SendSMS.aspx</entry>
    <entry key='sms.http.template'>
       user_name=Normal123&password=P@ss_1234&msg={message}&sender=NEWS&to={phone};
    </entry>
    @Override
    public void sendMessageSync(String destAddress, String message, boolean command) throws MessageException {
        Response response = getRequestBuilder(preparePayload(destAddress, message)).get();
        if (response.getStatus() / 100 != 2) {
            throw new MessageException(response.readEntity(String.class));
        }
    }
    private Invocation.Builder getRequestBuilder(String params) {
        return Context.getClient().target(url + "?" + params).request();
    }
It would be great if you could clean up the solution a little bit, make it configurable and send a PR.
Ok, I'll do that.
Hi Jack i'm trying to understand what you are doing here. can you explain please. is this to send sms commands as well as notifications? thanks
Hello,
how can I send sms using https API like this:
HTTPs: