diff --git a/_examples/request-body/read-query/main.go b/_examples/request-body/read-query/main.go index 1b57ffba..37e7f2f5 100644 --- a/_examples/request-body/read-query/main.go +++ b/_examples/request-body/read-query/main.go @@ -27,7 +27,7 @@ func main() { app.Get("/simple", func(ctx iris.Context) { names := ctx.URLParamSlice("name") - ctx.Writef("names: %v", ids) + ctx.Writef("names: %v", names) }) // http://localhost:8080?name=iris&age=3