This commit is contained in:
Iwan Clement
2020-05-17 16:04:46 +02:00
parent 7a1797f703
commit b1d3560dd3

View File

@@ -5,8 +5,13 @@ MG_URL="https://api.mailgun.net/v3/routes"
MG_APIKEY="api:key-6e4b01ba0681141a509c1c462fca40f4" MG_APIKEY="api:key-6e4b01ba0681141a509c1c462fca40f4"
MG_ORDER="GET /routes" MG_ORDER="GET /routes"
curl -s --user $MG_APIKEY -G \ curl -s --user $MG_APIKEY -X PUT \
$MG_URL "$MG_URL/5b6cbd328b3cd70001eb4eb2" \
-F priority=10 \
-F description='On ramasse tout' \
-F expression='catch_all()' \
-F action='forward("iwan.pubclement@gmx.fr")' \
-F action='stop()'
exit 0 exit 0
curl -s --user $MG_APIKEY -G \ curl -s --user $MG_APIKEY -G \