about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index c9736ed..f13d7c2 100644
--- a/main.go
+++ b/main.go
@@ -210,6 +210,12 @@ func insertStarHandler(w http.ResponseWriter, r *http.Request) {
 		panic(err)
 	}
 
+	log.Printf("x: %s", r.PostFormValue("x"))
+	log.Printf("y: %s", r.PostFormValue("y"))
+	log.Printf("vx: %s", r.PostFormValue("vx"))
+	log.Printf("vy: %s", r.PostFormValue("vy"))
+	log.Printf("m: %s", r.PostFormValue("m"))
+
 	// parse the star parameters
 	x, xParseErr := strconv.ParseFloat(r.PostFormValue("x"), 64)
 	errHandler("parse x", xParseErr)