package org.helloworld;

public class HelloWorld {
    public static void main(String[] args) {
        spark.Spark.get("/hello", (request, response) -> "Hello, World!");
    }
}

@@ -22,33 +22,174 @@
 d;%0A%0A
-public class HelloWorld %7B
+import static spark.Spark.get;%0Aimport static spark.Spark.post;%0A%0Aimport com.google.gson.Gson;%0A%0Apublic class HelloWorld %7B%0A    private static final Gson G = new Gson();%0A
 %0A   
@@ -234,16 +234,17 @@
 ) %7B%0A
+%0A
         
 spar
@@ -243,72 +243,469 @@
     
-spark.Spark.get(%22/hello%22, (request, response) -%3E %22Hello, World!%22
+get(%22/hello/:name%22, (request, response) -%3E %22Hello, World! %22 + request.params(%22name%22));%0A        post(%22/hello%22, (request, response) -%3E %22Hello, World%22 + request.body());%0A%0A        get(%22/ip%22, (request, response) -%3E G.toJson(request.ip()));%0A        get(%22/host%22, (request, response) -%3E G.toJson(request.host()));%0A        get(%22/user_agent%22, (request, response) -%3E G.toJson(request.userAgent()));%0A%0A        get(%22/q%22, (request, response) -%3E G.toJson(request.queryString())
 );%0A 

add test get,post