Getting Started With HTTP Middleware in Kitura | raywenderlich.com

Middleware is a popular way to to handle incoming server-side requests and outgoing responses. In this tutorial, you’ll learn how to add middleware to a REST API that’s built in Swift and uses the Kitura framework. You’ll learn how to add CORS (Cross-Origin Resource Sharing) policies, custom logic and authentication to the routes of an app that knows the meaning of life.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3158581-getting-started-with-http-middleware-in-kitura

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!