会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
一个笨蛋的博客
好记性不如烂笔头,多学多总结
首页
新随笔
管理
2022年10月27日
使用RestTemplate上传下载文件
摘要: 1、使用form表单上传文件 文件发送: @Test public void storeFile1() { File file = new File("D:\\test.txt"); String uploadUrl = "http://127.0.0.1:8080/upload1"; HttpHe
阅读全文
posted @ 2022-10-27 15:30 玄同太子
阅读(2306)
评论(0)
推荐(0)
编辑
公告