This is a simple REST API built with Flask in Python that allows you to perform CRUD operations (Create, Read, Update, Delete) on a list of users.
- GET
/users: Retrieve all users. - GET
/users/<id>: Retrieve a user by their ID. - POST
/users: Create a new user. - PUT
/users/<id>: Update an existing user. - DELETE
/users/<id>: Delete a user by their ID.
- Python 3.x
- Flask
Before you can run the API, you need to install Flask. You can install it using pip:
pip install Flask