调取接口链接如下: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html#2
接口方法:https://api.weixin.qq.com/card/invoice/getauthurl?access_token={access_token}
问题1:请问{access_token}具体是放什么。
问题2:请求参数params是放什么数据 请求body是放什么数据,有做过的大佬可以提供java的请求示例吗
问题3:ContentType是 application/json;charset=UTF-8 还是 application/x-www-form-urlencoded
获取access_token请参考:https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Nontax_Bill/API_list.html#1.1
{
"errcode": 40001,
"errmsg": "invalid credential, access_token is invalid or not latest hint: [tiVDOA05553122]"
}
具体报错如下:
{
"errcode": 72031,
"errmsg": "invalid params, s_pappid is empty hint: [qeEIWA06744106]"
}