Replies: 1 comment
-
这个只是打印格式化,真正发送的时候并不会添加。 如果你是文件上传,通过form方法传入的值File对象时,Hutool自动将请求转换为multipart/form-data |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如题,想使用HttpRequest来发送一个Multipart/form-data,但是在给请求输入请求体的时候,body()方法总是会把我的请求体开头添加一些空格。请问该如何解决?即便我在body方法中指定了content-type为multipart/form-data;boundary=${boundary}
Beta Was this translation helpful? Give feedback.
All reactions