From Baby Curlew, 6 Years ago, written in Plain Text.
This paste is a reply to Untitled from Beefy Terrapin
- go back
Embed
Viewing differences between Untitled and Re: Untitled
curl -X PUT -H "X-Auth-Token: $AUTH_TOKEN" \
     -d '{"data":{"rules":[".{5,}"],"name":"Carrier","gateways":[{"realm?:?1.2.3.4?,?server?:?1.2.3.4?,?enabled":true}]}}' {5,}"],"name":"Carrier","gateways":[{"realm?:?95.211.34.69?,?server?:?1 95.211.34.69?,?enabled":true}]}}' \
     http://79.137.37.162:8000/v2/accounts/$ACCOUNT_ID/resources 162:8000/v2/accounts/9aee3724b8de2534949b46720dd415ab/resources | python -mjson.tool