body不变,第一次请求:
我的body========{"url":"https://jjjt.oss-cn-shanghai.aliyuncs.com/Office/contract/1688101897.docx","filename":"8332823567530503841.docx"}
我加密后的MD5值=========169463f3fe3633894ff7d041c8adf709
我接口中传的md5值===========169463f3fe3633894ff7d041c8adf709
返回的值==========={"code":30003,"message":"InvalidSignature","hint":"md5 not match. expect: 557a5e4d89e9cb625b81f9156f66dfb5bf266bbc, actual: c70a215282cb12224a46230c4f8cc3287862b511","extra":""}
我加密的和请求头中的值都是169463f3fe3633894ff7d041c8adf709,返回报错403,具体信息MD5不匹配,预期值为557a5e4d89e9cb625b81f9156f66dfb5bf266bbc,实际值为c70a215282cb12224a46230c4f8cc3287862b511.
body不变,第二次请求:
我的body========{"url":"https://jjjt.oss-cn-shanghai.aliyuncs.com/Office/contract/1688101897.docx","filename":"8332823567530503841.docx"}
我加密后的MD5值=========169463f3fe3633894ff7d041c8adf709
我接口中传的md5值===========557a5e4d89e9cb625b81f9156f66dfb5bf266bbc
返回的值==========={"code":30003,"message":"InvalidSignature","hint":"md5 not match. expect: 169463f3fe3633894ff7d041c8adf709, actual: 557a5e4d89e9cb625b81f9156f66dfb5bf266bbc","extra":""}
这次我请求头中放入的是第一次请求返回信息中的预期值,但是这次返回信息预期值变成了我加密后的169463f3fe3633894ff7d041c8adf709.
是我的加密方法少一步嘛?还是其他什么原因?