tvrcgo / weixin-pay

微信支付 Nodejs SDK
MIT License
919 stars 241 forks source link

request [Error: header too long] #12

Closed tigerui closed 7 years ago

tigerui commented 8 years ago

request({ url: "https://api.mch.weixin.qq.com/pay/unifiedorder", method: 'POST', body: util.buildXML(opts), agentOptions: { pfx: this.options.pfx, passphrase: this.options.mch_id } }, function(err, response, body){ console.log(err); util.parseXML(body, fn); }); 求解

tvrcgo commented 7 years ago

@tigerui 检查传的 body