There was an error while loading. Please reload this page.
1 parent a7d580e commit 094d2c0Copy full SHA for 094d2c0
1 file changed
labs/GSP872/lab.sh
@@ -391,12 +391,22 @@ ok "TASK 1 completed."
391
392
section "[2/6] Testing the API Backend"
393
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
404
BACKEND_RESPONSE=""
405
406
for I in $(seq 1 24); do
407
408
BACKEND_RESPONSE=$(
- curl -fsSL "$FUNCTION_URL" \
409
+ curl -v "$FUNCTION_URL" \
410
2>/dev/null || true
411
)
412
0 commit comments