写bug的小杨

导航

2020年2月24日 #

返回的数据,设置TEXT/plain,可以直接用@ResponseBody

摘要: 参考地址: https://www.jb51.net/article/85090.htm 阅读全文

posted @ 2020-02-24 16:54 迷途的小狗 阅读(788) 评论(0) 推荐(0)

通过ServletInputStream读取http请求传入的数据

摘要: http发送的请求中数据有字节流,那可以在controller中使用ServletInputStream类来获取数据 参考代码: https://blog.csdn.net/swl979623074/article/details/52992733?utm_source=blogxgwz9 阅读全文

posted @ 2020-02-24 16:26 迷途的小狗 阅读(2262) 评论(0) 推荐(0)

springboot controller接收到http请求后打印request中的参数

摘要: 参考代码: https://www.cnblogs.com/olmlo/p/12027494.html 阅读全文

posted @ 2020-02-24 16:22 迷途的小狗 阅读(2209) 评论(0) 推荐(0)