REFACTOR API gateway fix 3
This commit is contained in:
@@ -56,7 +56,7 @@ fi
|
||||
|
||||
# ✅ NEW: Step 3.6 - Test a Protected Endpoint
|
||||
echo -e "\n3.6. Testing Protected Endpoint (User Profile)..."
|
||||
USER_PROFILE_RESPONSE=$(curl -s -X GET "$API_BASE/api/v1/users/me" \
|
||||
USER_PROFILE_RESPONSE=$(curl -v -s -X GET "$API_BASE/api/v1/users/me" \
|
||||
-H "Authorization: Bearer $ACCESS_TOKEN")
|
||||
|
||||
echo "User Profile Response: $USER_PROFILE_RESPONSE"
|
||||
|
||||
Reference in New Issue
Block a user