Error submitting

Posted in General by PanRotas TI Thu Aug 09 2018 19:43:49 GMT+0000 (Coordinated Universal Time)·Viewed 899 times

when trying to send as described in the documentation (https://api.pushcrew.com/docs/send-to-all-subscribers) I have been receiving the following error: "Failed to load https://pushcrew.com/api/v1/send/all: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response." My code: $ .ajax ({ url: url, type: 'post', async: true, crossDomain: true, date: { title: content.title, message: content.description, url: content.url, image_url: content.image }, headers: { "authorization": "mykey", }, dataType: 'json', done: function (data) { console.log (data); } }); My AcountID: ba6c71941fa73cd13ed28807fdb7c53e
  
Markdown is allowed