blob: 6b7e3fa25f3605583f0cb2c9d77b8fa1537e7cb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
. "$DIR/include.sh"
SMS_DATA="<?xml version='1.0' encoding='UTF-8'?><request><Index>-1</Index><Phones><Phone>363</Phone></Phones><Sca></Sca><Content>USAGE</Content><Length>5</Length><Reserved>1</Reserved><Date>-1</Date></request>"
get_token
post_xml "sms/send-sms" "$SMS_DATA" > $STATUS_FILE
cat $STATUS_FILE
|