Here are example from JasperWireless
curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" --header "Authorization: Basic <YOUR-ENCRYPTED-CREDENTIALS>" -d "{
\"messageText\": \"Hello world\"
}" "https://<YOUR-BASE-URL>/rws/api/v1/devices/PHONE/smsMessages"
As you can see, i need phone in url.
Placeholders are not supported in the URL.
How can i get the phone in URL field?
<entry key='sms.http.url'>https://myurl.jasper.com/rws/api/v1/devices/"{phone}"/smsMessages</entry> <entry key='sms.http.user'>Test</entry> <entry key='sms.http.password'>MyPassword</entry> <entry key='sms.http.template'> { "messageText": "{message}" } </entry>