We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let body=JSON.stringify([ { "clientId": 1, "plateNo": "浙A111111", "plateType": "1", "plateColor": "1", "vehicleType": "0", "vehicleColor": "0", "description": "test" } ] ); let httpRes=await Hikopenapi.httpPost(requestUrl+"/api/resource/v1/vehicle/batch/add",headers,body,appKey,appSecret,timeout); const buff = Buffer.from(JSON.parse(httpRes).data, 'base64').toString('utf-8'); console.log(buff); //{"status":true,error:0,data:""} 车库号码中的‘浙’会变成乱码。
let body=JSON.stringify([ { "clientId": 1, "plateNo": "浙A111111", "plateType": "1", "plateColor": "1", "vehicleType": "0", "vehicleColor": "0", "description": "test" } ] ); let httpRes=await Hikopenapi.httpPost(requestUrl+"/api/resource/v1/vehicle/batch/add",headers,body,appKey,appSecret,timeout); const buff = Buffer.from(JSON.parse(httpRes).data, 'base64').toString('utf-8'); console.log(buff); //{"status":true,error:0,data:""}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
let body=JSON.stringify([ { "clientId": 1, "plateNo": "浙A111111", "plateType": "1", "plateColor": "1", "vehicleType": "0", "vehicleColor": "0", "description": "test" } ] ); let httpRes=await Hikopenapi.httpPost(requestUrl+"/api/resource/v1/vehicle/batch/add",headers,body,appKey,appSecret,timeout); const buff = Buffer.from(JSON.parse(httpRes).data, 'base64').toString('utf-8'); console.log(buff); //{"status":true,error:0,data:""}
车库号码中的‘浙’会变成乱码。
The text was updated successfully, but these errors were encountered: