FlightAware.com’s push Alerts are pretty awesome. Unfortunately, the documentation doesn’t properly explain how to receive a push, or what the push really looks like. After some trial and error, this seems to work the best.

FlightAware sends the push data in the body of the request, not the head. So you need to use php://input to get the data.

Once you’ve registered the endpoint and created an alert, the data you’ll receive should look something like this:

Leave a Reply

Your email address will not be published. Required fields are marked *