unknown airline INVALID message

David Delmonte
Oct 4, 3:37 PM

Hi, I’m a noob. I’m trying simple things like getting airline info.

I’m using this URL:

http://MYNAME:MYCODE@flightxml.flightaware.com/json/FlightXML2/AirlineInfo?airline=AAL"

which returns:

error = “unknown airline INVALID”;

What am I doing wrong? Thanks

The argument name in the url must be “airlineCode=AAL” not “airline=AAL”

D’oh.

Thanks