This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # send a waiver to a mobile phone for signing | |
| curl -X POST https://speedwaiver.com/api/v1/waiver_invitations -H 'Content-Type: application/json' \ | |
| -H 'X-Tenant-ID: ...' \ | |
| -H 'x-api-key: ...' \ | |
| -d '[{"family_name": "Alonso", \ | |
| "given_name": "Fernando", \ | |
| "waiver_template_group_id": "...", \ | |
| "event_id": "...", \ | |
| "send_notification_via": "sms". \ | |
| "sms_number": "+1-415-555-1212", \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # exit if any pipeline exits non-zero | |
| set -e | |
| # capture stdout and stderr | |
| exec 2>&1 | |
| if [[ "$CONTAINER_SHUTDOWN_CLEANUP_ENABLE" = true || "$CONTAINER_SHUTDOWN_CLEANUP_ENABLE" = 1 ]]; then | |
| echo "Feature: Enabling shutdown cleanup against ${CONTAINER_SHUTDOWN_CLEANUP_URL:=http://localhost:3000/your/route/to/check/ok_to_shutdown}" |
OlderNewer