import static spark.Spark.*;
import spark.*;

public class HelloSpark {
    public static void main(String[] args) {
        get(new Route("/hello") {
            @Override
            public Object handle(Request request, Response response) {
                return "Hello Spark MVC Framework!";
            }
        });

        get(new Route("/goodbye") {
            @Override
            public Object handle(Request request, Response response) {
                return "Goodbye Spark MVC Framework!";
            }
        });

        get(new Route("/parameter/:param") {
            @Override
            public Object handle(Request request, Response response) {
                StringBuffer myParam = new StringBuffer(request.params(":param"));
                return "I reversed your param for ya \"" + myParam.reverse() + "\"";
            }
        });
    }
}
@@ -43,33 +43,188 @@
 *;%0A%0A
-public class HelloSpark %7B
+import java.util.ArrayList;%0A%0Apublic class HelloSpark %7B%0A    // Just store POST data within a ArrayList for now%0A    public static ArrayList%3CString%3E things = new ArrayList%3CString%3E();%0A
 %0A   
@@ -293,13 +293,12 @@
 e(%22/
-hello
+list
 %22) %7B
@@ -411,104 +411,304 @@
     
-return %22
+StringBuilder html = new StringBuilder();%0A%0A                if (
 Hello
- 
 Spark
- MVC Framework!%22;%0A            %7D%0A        %7D);%0A%0A        get(new Route(%22/goodbye%22
+.things.isEmpty()) %7B%0A                    html.append(%22%3Cb%3ETry adding some things to your list%3C/b%3E%22);%0A                %7D else %7B%0A                    html.append(%22%3Cul%3E%22);%0A                    for (String thing : HelloSpark.things
 ) %7B%0A
@@ -715,34 +715,24 @@
             
-@Override%0A
             
@@ -735,120 +735,179 @@
     
-public Object handle(Request request, Response response) %7B%0A                return %22Goodbye Spark MVC Framework!%22
+html.append(%22%3Cli%3E%22).append(thing).append(%22%3C/p%3E%22);%0A                    %7D%0A                    html.append(%22%3C/ul%3E%22);%0A                %7D%0A%0A                return html.toString()
 ;%0A  
@@ -931,34 +931,35 @@
    %7D);%0A%0A        
-ge
+pos
 t(new Route(%22/pa
@@ -960,23 +960,16 @@
 e(%22/
-parameter/:para
+add/:ite
 m%22) 
@@ -1083,47 +1083,29 @@
     
-StringBuffer myParam = new StringBuffer
+HelloSpark.things.add
 (req
@@ -1118,20 +1118,19 @@
 arams(%22:
-para
+ite
 m%22));%0A  
@@ -1149,73 +1149,59 @@
   re
-turn %22I reversed your param for ya %5C%22%22 + myParam.reverse() + %22%5C%22%22
+sponse.status(200);%0A                return response
 ;%0A  

Update HelloSpark.java to add ArrayList and POST