Example of Request Middleware for Prism Server