MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 35

Dreamweaver api reference
Table of Contents

Advertisement

Arguments
callbackFunc, URL, {serverScriptsFolder}
The
callbackFunc
complete.
The
argument is an absolute URL on a web server; if http:// is omitted from the
URL
URL, Dreamweaver assumes HTTP protocol.
The
serverScriptsFolder
folder—relative to the Configuration folder on the application server—from which you
want to retrieve server scripts. To retrieve the scripts, Dreamweaver uses the appropriate
transfer protocol (such as FTP, WebDAV, or Remote File System). Dreamweaver retrieves
these files and passes them to the function that
If an error occurs, Dreamweaver MX reports it in the
returned object.
MMHttp.postText()
Availability
Dreamweaver UltraDev 4, enhanced in Dreamweaver MX.
Description
Performs an HTTP post of the specified data to the specified URL. Typically, the data
associated with a post operation is form-encoded text, but it could be any type of data that the
server expects to receive.
Arguments
URL, dataToPost, {contentType}, {serverScriptsFolder}
The
argument is an absolute URL on a web server; if http:// is omitted from the
URL
URL, Dreamweaver assumes HTTP protocol.
The
dataToPost
www-form-urlencoded"
section 8.2.1 of the RFC 1866 specification (available at
rfc1866.html).
The
contentType
omitted, this argument defaults to
argument is the JavaScript function to call when the HTTP request is
argument is an optional string that names a particular
argument is the data to post. If the third argument is
or omitted,
dataToPost
argument, which is optional, is the content type of the data to post. If
"application/x-www-form-urlencoded"
identifies.
callbackFunc
property of the
statusCode
must be form-encoded according to
www.faqs.org/rfcs/
"application/x-
.
The HTTP API
35

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents