diff --git a/auth-jwt/README.md b/auth-jwt/README.md index 68c74b2edb..38260d1ff8 100644 --- a/auth-jwt/README.md +++ b/auth-jwt/README.md @@ -77,7 +77,7 @@ The following endpoints are available in the API: 1. Register a new user: ```bash - curl -X POST http://localhost:3000/api/auth/register -d '{"username":"testuser", "password":"testpassword", "email":"test@example.com"}' -H "Content-Type: application/json" + curl -X POST http://localhost:3000/api/user -d '{"username":"testuser", "password":"testpassword", "email":"test@example.com"}' -H "Content-Type: application/json" ``` 2. Login to get a JWT: