代码拉取完成,页面将自动刷新
GET http://localhost:8080/webapp-demo/hello
Cookie: Sai=dgut
###
GET http://localhost:8080/webapp-demo/json
###
POST http://localhost:8080/webapp-demo/json
Content-Type: application/json
{"姓名":"黎志雄","工号":"2003066","注册日期":"15-03-2019","薪水":"1000.0","身份":"老师","邮件":"lizhx@dgut.edu.cn","部门":"网络空间安全 学院"}
###
# 增加上传文件测试
### Send a form with the text and file fields
POST http://localhost:8080/webapp-demo/upload
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="校微.jpg"
Content-Type: image/jpeg
< /Users/sai/Desktop/校微.jpg
--WebAppBoundary--
###
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。