Koa.js framework provides the
response.attachment method to prompt file for download on the client. Continue reading Send files in Koa
In Koa.js you don’t need to use some specific methods to make a JSON response.
Continue reading How to send JSON response using Koa
Using of Cross-Origin Resource Sharing (CORS) in your Koa.js server requires the installation of koa2-cors library. Continue reading Using CORS in Koa
In Koa.js framework, you can make redirect using the
.redirect() method of
context object: Continue reading Handling redirects with Koa