Header Field Authorization Not Allowed


I failing to get flight data with response error of “header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.” while supplying the username and API Key as a basic Authorization HTTP header just like you indicated in your documentation. Kindly guide me to authenticate by supplying the credentials via http header. Thanks



We do not recommend using FlightXML through Javascript within the browser due to the need for authorization. Your backend application server should be what is making the requests to our FlightXML server instead.