const axios = require('axios');
const url = "https://customer-query.api.pinghome.io/v1/customer/6fb4e64f-ad18-46e3-920c-92639adb137c";
axios.get(url, {
headers: {
'Authorization': 'Bearer YOUR_TOKEN',
'Content-Type': 'application/json'
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});