yuzixun
Results
1
comments of
yuzixun
感谢你的分享~ 我在文中,发现了两处错误。 1. `获取Query参数`中的请求:`curl http://localhost:9999/user/geektutu/student` 这样应该是无效的,注释中提到的`users?name=xxx&role=xxx`应该是正确的请求格式。 2. `获取POST参数`小节 的这一行:`password := c.DefaultPostForm("username", "000000")` 是不是应该把 `username` => `password` 。 `Query和POST混合参数`这一小节中,也存在同样的问题。