Following the doc about admin api intro, it says we have to pass the "Date" header to our request.

Problem is that Chrome is blocking this header, so the response from the api is as follow :

  • error: {code: -32099, error: "Unauthorized",}
    • code: -32099
    • error: "Unauthorized"
    • message: "Request must contain a 'Date' header with an RFC 1123 formatted GMT timestamp."
  • id: 1
My request is as follow :

var request = Ext.Ajax.request({
    url : '',
method: 'POST',
cors : true,
useDefaultXhrHeader : false,
headers : {
        'Date' : new Date().toUTCString()
jsonData : request
and still, the headers looks like this :

  • Provisional headers are shown
  • Content-Type: application/json
  • Origin: http://localhost:1841
  • Referer: http://localhost:1841/KOPS/
  • User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.5.0 Chrome/40.0.2214.115 Safari/537.36 SenchaSpace/6.0.43
Any idea what would be missing, in order to be able to contact the SWAM API?