# Test your FastAPI endpoints GET http://127.0.0.1:8000/ Accept: application/json ### GET http://127.0.0.1:8000/hello/User Accept: application/json ### POST http://127.0.0.1:8000/v1/solve Accept: application/json Content-Type: application/json X-API-Key: { "captcha": "token", "url": "https://example.com/login", "actions": [ {"type": "fill", "selector": "#email", "value": "user@example.com"}, {"type": "fill", "selector": "#password", "value": "..."}, {"type": "mouse_move", "selector": "#submit"}, {"type": "click", "selector": "#submit"}, {"type": "wait_for", "selector": ".dashboard", "timeout": 30} ], "proxy": "socks5://user:pass@host:port", "screen": "1280x920", "user_agent": "Firefox", "timeout": 120 } ### POST http://127.0.0.1:8000/v1/solve Accept: application/json Content-Type: application/json X-API-Key: Cookie: session_id=2f2100be-6ce7-40d5-bae5-61424b2504c8; Path=/; SameSite=lax { "url": "https://browserleaks.com/canvas", "proxy": "-", "actions": [ {"type": "wait_for", "selector": "#canvas-hash", "timeout": 10}, {"type": "inner_html", "selector": "#canvas-hash"} ] } ### POST http://127.0.0.1:8000/v1/solve Accept: application/json Content-Type: application/json X-API-Key: { "url": "http://127.0.0.1:8001/", "proxy": "-", "actions": [ {"type": "fill", "selector": "#username", "value": "webrobo"}, {"type": "fill", "selector": "#password", "value": "31337"}, {"type": "click", "selector": "body > form:nth-child(1) > button:nth-child(7)"}, {"type": "wait_for", "selector": ".user", "timeout": 30} ] } ###