Federal Aviation Administration

ColdFusion FAA REST Example

The example below shows making a simple HTTP request to a service from ColdFusion, then creating and dumping a structure containing the status and the parsed XML.

Note that the code does not demonstrate how to handle any HTTP errors nor otherwise process the response.

Other examples:

This page can be viewed online at: http://services.faa.gov/docs/tutorial/examples/coldfusion/