This commit is contained in:
Iwan Clement
2020-05-17 16:36:25 +02:00
parent b1d3560dd3
commit 3c6ee3f6f5
3 changed files with 71 additions and 2 deletions

View File

@@ -7,8 +7,14 @@ MG_URL="https://api.mailgun.net/v3/routes"
MG_APIKEY="api:key-6e4b01ba0681141a509c1c462fca40f4"
MG_ORDER="GET /routes"
curl -s --user $MG_APIKEY -G \
$MG_URL
curl -s --user $MG_APIKEY -G $MG_URL
exit 0
curl -s --user $MG_APIKEY -G $MG_URL| jq ".items"|jq ".[].id"
exit 0
curl -s --user $MG_APIKEY -G $MG_URL| \
python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"
exit 0
curl -s --user $MG_APIKEY -G \