大家好,我这边调用《获取商户平台证书》接口,路径为:https://api.mch.weixin.qq.com/v3/certificates,的时候返回400状态码,文档里说明为:协议或者参数非法,但是我找了好久都没看出问题点在哪,麻烦帮忙看下,谢谢,下面附上请求与响应的信息:
2020-01-07 18:14:59,213 INFO com.micvs.core.util.HttpClientWithWechatV3Util [main] - url=https://api.mch.weixin.qq.com/v3/certificates?null
2020-01-07 18:14:59,219 INFO com.micvs.core.util.HttpClientWithWechatV3Util [main] - 执行get请求, uri: https://api.mch.weixin.qq.com/v3/certificates
2020-01-07 18:14:59,286 DEBUG com.wechat.pay.contrib.apache.httpclient.auth.WechatPay2Credentials [main] - authorization message=[GET
/v3/certificates
1578392099
esWUb7rkYu1VeC5kmNn8h1v1Ucc7Iizj
2020-01-07 18:14:59,306 DEBUG com.wechat.pay.contrib.apache.httpclient.auth.WechatPay2Credentials [main] - authorization token=[mchid=“1455594002”,nonce_str=“esWUb7rkYu1VeC5kmNn8h1v1Ucc7Iizj”,timestamp=“1578392099”,serial_no=“486B112C98F3FCC1F0C98CD3AE985F6D7DAB9F6B”,signature=“aSaMTM42yVphGbBbYnRx5XyRCcJxs8ByGWd2aChLQJteAojCFymk7IILbTbvIM2jPlQYJePhiCir2YSqXbNWESYFdYO45TNY8zqN4Mf/XNSSI8FzBLvz3AjnZ0yhlhd4msXUIDNUo57Jfx1rPxvt9YrOOKN5MQMogHcVa8SFua+LNC0hFCZsxkJxneQYPhJ8pLrIgaSsQwVwpa2vC06irhYbIHMJjQhXndtMRHuUauusLiNnWQwcLaGtxQ8x/t+XjV2vjJZq/R516SrRKFnUHEklP2oYK+jgsj3ZvQC6e12X8SDCW1HvTp4+UNwuQRTAx7WtV1j8Le3aUokXHJh9Sg==”]
2020-01-07 18:14:59,646 INFO com.micvs.core.util.HttpClientWithWechatV3Util [main] - 响应状态码:400
2020-01-07 18:14:59,646 INFO com.micvs.core.util.HttpClientWithWechatV3Util [main] - 响应内容:<html>
<head><title>400 Bad Request</title></head>
<body bgcolor=“white”>
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>