blob: 62631362c7cd9e956ce5ed1922436530f32225f6 (
plain) (
tree)
|
|
#!/usr/bin/env sh
set -e
set -x
# sleep 5
curl -k -X GET https://localhost:8008/crypto/price?name=CAKE&unit=USD
curl -k -X GET https://localhost:8008/crypto/pair?one=ETH&two=CAKE&multiplier=4.0
curl -k -X POST -H "Content-Type: application/json" -d '{"name":"alert1", "expr":"ETH>CAKE"}' https://localhost:8008/crypto/alert
|