stockholm/bin/_cac_curl_api_v1
2015-05-21 01:56:08 +02:00

11 lines
227 B
Bash
Executable File

#! /bin/sh
set -euf
exec _cac_exec curl -fsS "$1" "https://panel.cloudatcost.com/api/v1/$2.php" $(
shift 2
set -- "$@" login="$cac_login" key="$cac_key"
for arg; do
echo -d $(printf '%s' "$arg" | urlencode)
done
)