Skip to content

Commit 1a84cb3

Browse files
Merge branch 'trial-testing:main' into main
2 parents 8aded73 + 9883de9 commit 1a84cb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/auth_try.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
# 3. Send a simple GET request to verify connectivity
4343
- name: 📡 Send GET request to protected endpoint
4444
run: |
45-
echo "🚀 GET $API_BASE/validate"
46-
response=$(curl -s -H "Authorization: Bearer $TOKEN" "$API_BASE/validate")
45+
echo "🚀 GET $API_BASE/"
46+
response=$(curl -s -H "Authorization: Bearer $TOKEN" "$API_BASE/")
4747
echo "🔍 GET response:"
4848
echo "$response" | jq . || true
4949
@@ -78,8 +78,8 @@ jobs:
7878
# 5. Send POST request with JSON payload
7979
- name: 🚀 Send POST request with JSON payload
8080
run: |
81-
echo "🚀 POST $API_BASE/validate"
82-
response=$(curl -s -w "\n%{http_code}" -X POST "$API_BASE/validate" \
81+
echo "🚀 POST $API_BASE/"
82+
response=$(curl -s -w "\n%{http_code}" -X POST "$API_BASE/" \
8383
-H "Authorization: Bearer $TOKEN" \
8484
-H "Content-Type: application/json" \
8585
--data-binary "@$JSON_PAYLOAD_PATH")

0 commit comments

Comments
 (0)