diff --git a/README.md b/README.md index 31a3f41..58aec4e 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ A FastAPI service providing user authentication and authorization features inclu #### Register a new user ``` -POST /users +POST /auth/signup ``` Request body: ```json @@ -58,6 +58,16 @@ Request body: "last_name": "Doe" } ``` +Response: +```json +{ + "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", + "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", + "token_type": "bearer" +} +``` + +> Note: The signup endpoint returns authentication tokens directly, allowing immediate user access without a separate login step. #### Login ```