Task: Implement a REST API User Registration Endpoint with Proper HTTP Status Codes
Task: Implement a REST API User Registration Endpoint with Proper HTTP Status Codes: a task in Terminal-Lego-15k (Harbor dataset). You need to build a simple REST API server with a user registration endpoint ( POST /users ) that returns appropriate HTTP status codes when a user tries to sign up…
The task
You need to build a simple REST API server with a user registration endpoint (`POST /users`) that returns appropriate HTTP status codes when a user tries to sign up with a username that already exists.
Part of PrimeIntellect/Terminal-Lego-15k.