I am not able to add Date in the header, every time I add the date I get the error. Refused to set unsafe header "Date"
This is My code;
$http({
method: 'POST',
url: 'https:......',
data: message,
headers: {'Content-Type': 'application/x-www-form-urlencoded',
'XReference':reference,
'Authorization':auth,
'Date':unixtimestamp
}
})
Dateheader to be set, could you use a custom header of a different name for your purposes?