- Create new create-google-meet-event edge function - Use service account authentication (no OAuth needed) - Add google_service_account_json field to platform_settings - Add admin UI for service account JSON configuration - Include test connection button in Integrasi tab - Add comprehensive setup documentation - Keep n8n workflows as alternative option Features: - Direct Google Calendar API integration - JWT authentication with service account - Auto-create Google Meet links - No external dependencies needed - Simple configuration via admin panel 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
44 lines
1.1 KiB
Bash
Executable File
44 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
BASE_URL="https://api.backoffice.biz.id"
|
|
|
|
echo "🔍 Testing different webhook path variations..."
|
|
echo ""
|
|
|
|
# Test different paths
|
|
paths=(
|
|
"/webhook-test/create-meet"
|
|
"/webhook/create-meet"
|
|
"/webhook-test/"
|
|
"/webhook/"
|
|
"/test/create-meet"
|
|
"/create-meet"
|
|
"/webhook-test"
|
|
)
|
|
|
|
for path in "${paths[@]}"; do
|
|
url="${BASE_URL}${path}"
|
|
echo -n "Testing $url: "
|
|
|
|
response=$(curl -s -o /dev/null -w "%{http_code}" -X POST "$url" \
|
|
-H "Content-Type: application/json" \
|
|
-d '{"test": true}' \
|
|
--max-time 5)
|
|
|
|
if [ "$response" = "200" ] || [ "$response" = "201" ] || [ "$response" = "202" ]; then
|
|
echo "✅ SUCCESS (HTTP $response)"
|
|
elif [ "$response" = "404" ]; then
|
|
echo "❌ Not Found (404)"
|
|
elif [ "$response" = "000" ]; then
|
|
echo "⏱️ Timeout/Connection Error"
|
|
else
|
|
echo "⚠️ HTTP $response"
|
|
fi
|
|
done
|
|
|
|
echo ""
|
|
echo "💡 Tips:"
|
|
echo "- If all paths return 404, check if n8n is running at $BASE_URL"
|
|
echo "- Make sure the webhook workflow is active in n8n"
|
|
echo "- Check the webhook node path in your n8n workflow"
|