Build a REST API to manage user data using Flask with GET, POST, PUT, DELETE routes.
- Python
- Flask
- Postman
✔ GET all users
✔ GET a specific user
✔ POST - Create new user
✔ PUT - Update user
✔ DELETE - Remove user
✔ In-memory database (dictionary)
- Install dependencies: pip install flask
- Run the app: python app.py
- Open in browser: http://127.0.0.1:5000/
- GET /users
- GET /users/
- POST /users
- PUT /users/
- DELETE /users/