HTTP Server

Content negotiation in a Micronaut Application

Learn how to respond HTML or JSON depending on the request Accept HTTP Header.

JavaKotlinGroovy
Gradle Read
Maven Read