Flask API Server example