REST API with MySQL stored procedures