Implement an API endpoint using Flask in Python
Write a Flask API endpoint that handles the following request: [REQUEST_DESCRIPTION]. Ensure the endpoint follows RESTful principles and includes necessary error handling.
Use this when you need to quickly implement an API endpoint in a Flask application.