AJAX function w/ Mailgun, getting “ERROR Request header field Authorization is not allowed by Access-Control-Allow-Headers”

后端 未结 1 2020
猫巷女王i
猫巷女王i 2020-12-16 18:44

I\'m working on making an AJAX call that hit the Mailgun API to send email. Documentation on Mailgun says that post requests should be made to \"https://api.mailgun.net/v3/d

相关标签:
1条回答
  • Drazisil is correct above. The response needs to include Access-Control-Allow-Headers: Authorization as you are including that header in your request and Authorization is not a simple header.

    0 讨论(0)
提交回复
热议问题