```Spark.get("/posts", { req, res -> postServic...
# announcements
d
Copy code
Spark.get("/posts", { req, res -> postService.allPosts }, toJson)
This works with the initial implementation that I posted