关于用例中multipart/form-data上传图片的问题 #1516
Unanswered
Tsn-09
asked this question in
2 - 答疑(Q&A)
Replies: 1 comment 3 replies
-
upload 方法内部会自动处理请求头和请求体的格式,感觉应该是不需要再手动指定请求头的 content-type,可能会有影响。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如何构建这样格式的body?
尝试按照下面这种用例格式,没有成功
结果是这样的:
原因在于 file 这个关键字,也被当成普通字段处理了,而不是文件。
所以请教一下大家,该如何处理
hrp version v4.2.0
Beta Was this translation helpful? Give feedback.
All reactions