I'm trying to connect to www.flightaware.com with a basic flight query below:
"http://YOUR_USERNAME:YOUR_APIKEY@flightxml.flightaware.com/json/FlightXML2/Enroute?airport=KSMO&filter=''&howMany=10&offset=0"
I'm having trouble figuring out where to put my username and apikey to construct the proper GET request:
char server[] = "www.flightaware.com";
...
client.println("GET /json/FlightXML2/AirlineFlightSchedules?startDate=1574297061&endDate=1575161061&airline=UAL&origin=KEWR&filter=%27%27&howMany=3&offset=0");
client.println("Host: www.flightaware.com");
client.println("Connection: close");