modulData = [{"itemKey":"1001"}]
let signature = md5(`${JSON.stringify(modulData)}2D1************************45`);
let data = {
station: "2********6-8****2-4**2-8**0-0**********3",
plugin: "ExPIc",
company: "demo",
message: {
netPassportID: "25***5",
pluginData: modulData
},
signature: signature
}
console.log(data);
const config = {
method: "post",
url: "https://ws.wizground.com/api",
headers: {
"Content-Type": "application/json",
},
data: data,
};
console.log(Date.now());
axios(config)
.then(function (response) {
console.log(Date.now());
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(Date.now());
console.log(error.response.data);
});