{ "status": "online", "message": "Welcome to the Web Browse API!", "api_endpoint": "/web_browse", "instructions": "Send a POST request to /web_browse with a JSON payload to use the service.", "payload_format": { "action": "string (required: 'Search' or 'Scrape')", "query": "string (required: a search term or a full URL)", "browser": "string (optional, default: 'firefox'; options: 'firefox', 'chromium', 'webkit')", "search_engine": "string (optional, default: 'DuckDuckGo'; see code for all options)" }, "example_curl": "curl -X POST YOUR_SPACE_URL/web_browse -H \"Content-Type: application/json\" -d '{\"action\": \"Search\", \"query\": \"latest news on AI\", \"browser\": \"webkit\"}'" }