get和post的区别

get:通过url传参,参数有长度限制,只能用url编码,有缓存
post:通过methods请求,长度无限制,用多种方式编码,无缓存