瀏覽代碼

Tratando url para aceitar o slash

main
Guilherme Rudic 6 月之前
父節點
當前提交
8b4d218a65
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      main.py

+ 1
- 1
main.py 查看文件

@@ -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"

Loading…
取消
儲存