Le endpoint generer est un POST
This commit is contained in:
parent
6ccbe23169
commit
f86421d9b1
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -126,7 +126,7 @@ async def get_current_active_user(
|
|||
return current_user
|
||||
|
||||
|
||||
@app.post("/token")
|
||||
@app.post("/token/")
|
||||
async def login_for_access_token(
|
||||
form_data: Annotated[OAuth2PasswordRequestForm, Depends()],
|
||||
) -> Token:
|
||||
|
|
Loading…
Reference in a new issue