{"header":{"type":"auto_translation","ret_code":"error","time_cost":627.0,"request_id":"8f35a331585e11ed8b7ea7989c294558"},"message":"Translation error (20001), please retry later. Detail: RuntimeException - The length of source sentence is too long!!! - {\n "header": {\n "time_cost": 0.000412,\n "type": "auto_translation",\n "ret_code": "The length of source sentence is too long!!!"\n }\n}"}
3条答案
按热度按时间jbose2ul1#
试试这个,
使用HTTP客户端,
wz8daaqr2#
是否设置了内容类型?如果设置了,请将其删除。
前端:
后端:
9njqaruj3#
你真的要发送
FormData
到你的服务器吗?请尝试将文件包含在
FormData
对象中,以便HttpClient
自动添加多部分边界。