Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import static spark.Spark.*;
- public class HelloWorld {
- public static void main(String[] args) {
- get("/hello", (req, res) -> "Hello World");
- }
- }
- // Fire it up: http://localhost:4567/hello
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement