- Add backend stale process monitoring API (/api/stale-processes) - Add users management route - Add frontend landing page and stale process monitor UI on /scraper-tools - Move old development scripts to backend/archive/ - Update frontend build with new features 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
886 B
Bash
21 lines
886 B
Bash
#!/bin/bash
|
|
# Test Dutchie GraphQL API
|
|
|
|
ENDPOINT="https://api-gw.dutchie.com/embedded-graphql"
|
|
BODY='{"operationName":"FilteredProducts","variables":{"includeEnterpriseSpecials":false,"productsFilter":{"dispensaryId":"AZ-Deeply-Rooted","pricingType":"rec","useCache":false},"page":0,"perPage":10},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"ee29c060826dc41c527e470e9ae502c9b2c169720faa0a9f5d25e1b9a530a4a0"}}}'
|
|
|
|
echo "Testing Dutchie GraphQL API..."
|
|
echo "Endpoint: $ENDPOINT"
|
|
|
|
curl -s "$ENDPOINT" \
|
|
-X POST \
|
|
-H "accept: application/json" \
|
|
-H "origin: https://dutchie.com" \
|
|
-H "referer: https://dutchie.com/embedded-menu/AZ-Deeply-Rooted" \
|
|
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" \
|
|
-H "apollographql-client-name: Marketplace (production)" \
|
|
-H "content-type: application/json" \
|
|
-d "$BODY" | head -c 3000
|
|
|
|
echo ""
|