Skip to content

Commit 094d2c0

Browse files
authored
API Gateway: Qwik Start - GSP872
1 parent a7d580e commit 094d2c0

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

labs/GSP872/lab.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,12 +391,22 @@ ok "TASK 1 completed."
391391

392392
section "[2/6] Testing the API Backend"
393393

394+
export PROJECT_ID="$(gcloud config get-value project)"
395+
396+
FUNCTION_URL=$(gcloud functions describe helloGET \
397+
--region="$REGION" \
398+
--format="value(url)")
399+
400+
echo "$FUNCTION_URL"
401+
curl -v "$FUNCTION_URL"
402+
403+
394404
BACKEND_RESPONSE=""
395405

396406
for I in $(seq 1 24); do
397407

398408
BACKEND_RESPONSE=$(
399-
curl -fsSL "$FUNCTION_URL" \
409+
curl -v "$FUNCTION_URL" \
400410
2>/dev/null || true
401411
)
402412

0 commit comments

Comments
 (0)