Working with response in Javalin
We have learned how to handle a request in Javalin, in this tutorial, we will continue to learn how to work with the response in Javalin! I also created a Maven project as an example, as follows: Javalin and SLF4J Simple dependency are as follows:
1 2 3 4 5 6 7 8 9 10 |
<dependency> <groupId>io.javalin</groupId> <artifactId>javalin</artifactId> <version>2.8.0</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.26</version> </dependency> |