Skip to content

API

CALL

Invoke-WebRequest -Method GET -Uri 'http://IP:8080/call?number=XXXXXXXXXX'
curl -X GET 'http://IP:8080/call?number=XXXXXXXXXX' 

SMS

Invoke-WebRequest -Method GET http://IP:8080/sms -Body @{number = "XXXXXXXXXX"; message = "Text message here!"}
curl -X GET http://IP:8080/sms -G --data-urlencode "number=XXXXXXXXXX" --data-urlencode "message=Text message here!"