post请求word转pdf报错如下: Response{protocol=http/1.1, code=403, message=Forbidden, url=https://solution.wps.cn/api/developer/v1/office/convert/to/pdf}
Header中的Date:Mon, 27 Nov 2023 14:17:09 GMT Content-Md5 HTTP Body:filename=测试.docx&url=https://test.oss-cn-beijing.aliyuncs.com/***.docx 计算出的md5值:94d1aaa9e7dabc5b5e3aa4bb7e08f062
拼接authorization的代码: String authorization = "WPS-2:" + appId + ":" + cn.hutool.crypto.digest.DigestUtil.sha1Hex(appKey + bodyMD5 + contentType + date);
RequestBody中的body值跟文档中一样加了转义符号: