![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
http
snetlogon20
这个作者很懒,什么都没留下…
展开
-
Python Django + postman get 与post 处理
首先使用 post man 制作测试脚本, 新建http request 后可以点击generate code产生 Python代码get 的代码import requestsurl = “http://127.0.0.1:8001/tst/tst_url/”querystring = {“username”:“admin”,“password”:“qwertasdfg”}he...原创 2019-05-03 20:33:18 · 1603 阅读 · 0 评论 -
spring boot MVC 通过 MultipartFile file上传文件
一、 代码 //POST http://localhost:8080/test/tstMultipartFile?id=2&name=fff //postman 中不要增加 header //body: key=file value=/path/filename 即可 //获取header 并使用@ResponseBody 返回json ...原创 2019-09-22 17:06:47 · 104 阅读 · 0 评论