Test Post
Postingan Pertamax
Testing.
func newHandler(w http.ResponseWriter, r *http.Request) {
fmt.Println("GET params:", r.URL.Query());
// if only one
moviename := r.URL.Query().Get("moviename")
if moviename != nil {
... process it
}
// if multiples possible
movienames := r.URL.Query()["moviename"];
if movienames != nil {
... process them ...
}
}