Skip to Main Content
Programming ColdFusion MX, 2nd Edition
book

Programming ColdFusion MX, 2nd Edition

by Rob Brooks-Bilson
August 2003
Intermediate to advanced content levelIntermediate to advanced
1140 pages
68h 45m
English
O'Reilly Media, Inc.
Content preview from Programming ColdFusion MX, 2nd Edition

Chapter 14. Interacting with Other Web Servers Using HTTP

One of ColdFusion’s most powerful features is its ability to interact with other web servers via the cfhttp tag. cfhttp allows a ColdFusion application to perform standard HTTP operations (Delete, Get, Head, Options, Post, Put, and Trace) on remote servers. Using cfhttp, you can perform a wide range of functions, such as retrieving text and binary files, reading the contents of delimited text files into query objects, and posting information such as form-field data or XML to forms and applications on remote servers. Some of the more common uses include generating static HTML pages from dynamic data, gathering content such as news articles and press releases from remote sites, automatic form submissions, and intelligent agents capable of interacting with remote services such as stock quote and news feeds. For example, you can use cfhttp to write an agent that can gather information related to a particular company from various services including news sources, search engines, and financial service providers. The information gathered by the agent can be presented to users in any number of ways such as in an email, on a personalized web page, or even in an alphanumeric message sent to a pager. The uses for the cfhttp tag are limited only by your imagination.

Because cfhttp has the ability to grab content from remote sites, questions of copyright, trademark, and intellectual property infringement can come up. It is important ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming ColdFusion

Programming ColdFusion

Rob Brooks-Bilson

Publisher Resources

ISBN: 0596003803Supplemental ContentErrata Page