mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
14 lines
398 B
Bash
Executable File
14 lines
398 B
Bash
Executable File
#! /usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Define the URL and parameters
|
|
WEBHOOK_URL="https://hyperswitch.gateway.scarf.sh/docker"
|
|
VERSION="unknown"
|
|
STATUS="initiated"
|
|
|
|
# Send the GET request
|
|
curl --get "${WEBHOOK_URL}" --data-urlencode "version=${VERSION}" --data-urlencode "status=${STATUS}"
|
|
|
|
# Print confirmation
|
|
echo "Request sent to ${WEBHOOK_URL} with version=${VERSION} and status=${STATUS}"
|