50
Chapter 3: The HTTP API
•
The
dataToPost
argument is the data to be posted. If the third argument is
"application/x-
www-form-urlencoded"
or omitted,
data
must be form-encoded according to section 8.2.1
of the RFC 1866 specification (available at
www.faqs.org/rfcs/rfc1866.html
).
•
The
contentType
argument, which is optional, is the content type of the data to be posted. If
omitted, this argument defaults to
"application/x-www-form-urlencoded"
.
•
The
serverScriptsFolder
argument is an optional string. It names a particular folder,
relative to the Configuration folder on the application server—to which you want to post the
data. To post the data, Dreamweaver uses the appropriate transfer protocol (such as FTP,
WebDAV, or Remote File System). Dreamweaver retrieves these data and passes them to the
function identified by
callbackFunc
.
If an error occurs, Dreamweaver reports it in the
statusCode
property of the returned object.
000_DW_API_Print.book Page 50 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...