Middleware - API

By Pedro Maroco