Http头缺少Accept或User-Agent?
nodejs 小程序对接微信支付,调用接口
https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi
加上
不报上面的错了,报另外的错
{code: ‘SIGN_ERROR’, message: ‘Http头Authorization值格式错误,请参考《微信支付商户REST API签名规则》’}
https://wechatpay-api.gitbook.io/wechatpay-api-v3/qian-ming-zhi-nan-1/qian-ming-sheng-cheng