Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Spark Hello World
import static spark.Spark.*;
public class HelloWorld {
public static void main(String[] args) {
get("/hello", (req, res) -> "Hello World");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment