gps/web/user_api_examples/user_api_examples.txt

6 lines
440 B
Plaintext

# UNIT SMS
curl --header "Content-Type: application/json" --request POST --data '{"gateway": "Data", "dmr_id": 1234567, "type":"unit", "sms": "this is a test"}' http://localhost:8080/api/<your_call>/<your_api_key>
#Group SMS
curl --header "Content-Type: application/json" --request POST --data '{"gateway": "Data", "dmr_id": 1234567, "type":"group", "sms": "this is a test"}' http://localhost:8080/api/<your_call>/<your_api_key>