| Scott Baker | 4746d48 | 2016-03-31 14:57:04 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |||||
| 3 | source ./config.sh | ||||
| 4 | |||||
| 5 | ACCOUNT_NUM=1238 | ||||
| Scott Baker | 4746d48 | 2016-03-31 14:57:04 -0700 | [diff] [blame] | 6 | |
| 7 | DATA=$(cat <<EOF | ||||
| 8 | {"identity": {"account_num": "$ACCOUNT_NUM"}, | ||||
| 9 | "features": {"uplink_speed": 2000000000}} | ||||
| 10 | EOF | ||||
| 11 | ) | ||||
| 12 | |||||
| 13 | curl -H "Accept: application/json; indent=4" -H "Content-Type: application/json" -u $AUTH -X POST -d "$DATA" $HOST/api/tenant/cord/subscriber/ | ||||