MACROMEDIA COLDFUSION MX 61-CFML Reference page 802

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

Syntax
CF.http
({
method:"get or post",
url:"URL",
username:"username",
password:"password",
resolveurl:"yes or no",
params:arrayvar,
path:"path",
file:"filename"
})
Arguments
Arguments
method
url
username
password
resolveurl
params
802
Chapter 7: ColdFusion ActionScript Functions
Req/Opt Description
Required One of two arguments:
• get: downloads a text or binary file or creates a query from the
contents of a text file.
• post: sends information to the server page or CGI program for
processing. Requires the
Required The absolute URL of the host name or IP address of the server on
which the file resides. The URL must include the protocol (http or https)
and host name.
Optional
When required by a server, a username.
Optional
When required by a server, a password.
Optional
For
and
Get
• Yes or No. Default is No.
For GET and POST operations, if Yes, the page reference that is
returned into the Filecontent property has its internal URLs fully
resolved, including port number, so that links remain intact. The
following HTML tags, which can contain links, are resolved:
-
img src
-
a href
-
form action
-
applet code
-
script src
-
embed src
-
embed pluginspace
-
body background
-
frame src
-
bgsound src
-
object data
-
object classid
-
object codebase
-
object usemap
Optional
HTTP parameters passed as an array of objects. Supports the
following parameter types:
• name
• type
• value
params are passed as an array of objects. The
CF.http
argument is required for POST operations.
params
methods.
Post
argument.
params

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents