引入interceptor插件,自动把cookie中的登录信息带入到postman中。 1.postman安装: chrome://extensions/打开,把下载好的postman插件拖到里面就可以了。 2.Postman interceptor安装: chrome://extensions/打开,把下载好的Postman interceptor插件拖到里面就可以了。 3.Postman intercept
1、过滤器(Filter) 首先说一下Filter的使用地方,我们在配置web.xml时,总会配置下面一段设置字符编码,不然会导致乱码问题: <filter> <filter-name>encoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param