文档转换为pdf提示403

Viewed 110

我使用开发者接口-->文档转换为pdf 访问url: https://solution.wps.cn/api/developer/v1/office/convert/to/pdf 提示403

HttpResponseProxy{ HTTP/1.1 403 Forbidden
 [ Content-Type: application/json; charset=utf-8, Content-Length: 177, Connection: keep-alive, X-Request-Id: 52e15591160449f7b8e263074098f320, Date: Thu, 25 May 2023 10:35:14 GMT, X-KLB: 2] ResponseEntityProxy{
[Content-Type: application/json; charset=utf-8,Content-Length: 177,Chunked: false]
}}

业务测试

2 Answers

解决了,是我进行sha1加密时,每个参数用空格隔开的问题,我去掉了空格,现在没问题了

你好,你的MD5是怎么加密的,方便说一下吗?