User Guide

C HAPTER 15
Chapter 15 Interacting with Remote Servers
This chapter describes how ColdFusion wraps the complexity of Hypertext Transfer
Protocol communications in a simplified tag syntax that allows you to easily extend
your site’s offerings across the Web.
Contents
Using CFHTTP to Interact with the Web ...................................................... 232
Using the CFHTTP Get Method .................................................................... 232
Creating a Query from a Text File.................................................................. 234
Using the CFHTTP Post Method................................................................... 236
Using Secure Sockets Layer (SSL) with CFHTTP ......................................... 238
Performing File Operations with CFFTP ...................................................... 239
Moving Complex Data Structures Across the Web with WDDX ................. 241
An Overview of Distributed Data for the Web.............................................. 242
WDDX Components ...................................................................................... 242
Working With Application-Level Data.......................................................... 243
Data Exchange Across Application Servers.................................................. 243
How WDDX Works ......................................................................................... 244
Converting CFML Data to a JavaScript Object............................................. 245
Transferring Data From Browser to Server................................................... 246