@@ -11,7 +11,7 @@ class CaptchaRequest(BaseModel): | |||
captchafile: str | |||
authtoken: str | |||
@app.post("/solve_captcha/") | |||
@app.post("/solve_captcha{slash_optional:/?}", response_model=dict) | |||
async def solve_captcha(request: CaptchaRequest): | |||
expected_token = "j7MgdTy4LX05RpE1XY0ykLTexu9LuOE4zg5AEMNymL6LAgCUNN8JGjM5wu26FDGV4j0Xz3km8ra51c3ihToa3fj48XpcsWr45g043bLVQA1sTBkJP4j823DNX67mbjqNR8p117sU580153Id0IavORjkCXRP" | |||