Skip to content

Instantly share code, notes, and snippets.

@JamieAP
Created December 26, 2015 17:31
Show Gist options
  • Save JamieAP/c42aa3622cd31e4bcbd8 to your computer and use it in GitHub Desktop.
Save JamieAP/c42aa3622cd31e4bcbd8 to your computer and use it in GitHub Desktop.
Spark Example
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