Home > Contents > Index >
POST
Submits an HTTP request to a specific server.
Syntax
<POST URL="url string" [SECURE="secured value"] [USERNAME="user name"] [PASSWORD="password"] [COOKIE="cookie name"] [LOGOUT="logout value"] [HOST="hostname"] [PORT="port address"] [PROXY="proxyname"] [PROXYPORT="proxy port"] [OUTDATA="output variable"] [OUTERROR="error variable"] [OUTCOOKIE="outcookie value"]> <ARGUMENT
NAME="somearg1" VALUE="somevalue1"/> <ARGUMENT
NAME="somearg2" VALUE="somevalue2"/> </POST>Parameters
URL (required)
- URL requests without protocol or host (for example, docs/index.html).
SECURE (optional)
- Use HTTPS. Values are
true
and false. Default is false.
USERNAME (optional)
- Username to use to log in to the host (default is current user).
PASSWORD (optional)
- User password to use to log in to the host (default is current user).
COOKIE (optional)
- Session cookie to use (defaults to cookie set from previous post).
LOGOUT (optional)
- Log out the user session created on the target server. Values are
true
andfalse, and the default is false.
HOST (optional)
- Target host name (default is current host).
PORT (optional)
- Target host port address (default is the current host port).
PROXY (optional)
- Proxy server host name (default is
none
).
PROXYPORT (optiona)
- Proxy server port address (default is
none
).
OUTDATA (optional)
- Variable name whose value contains output of post (default is no variable).
OUTERROR (optional)
- Variable name whose value contains errors reported by post (default is no variable).
OUTCOOKIE (optional)
- Variable name whose value contains the security cookie set by the post (default is no variable).
Description
The POST tag submits an HTTP request to a specific server. This tag can use proxy information and can cause a login if connection is to a Content Server engine. This tag is useful for submitting a mirror request to a remote server, or inserting a page to get data from a disk cache, and the like.
errno
The value of
errno
is unchanged.
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.