HTTPPOST Post to HTTP/HTTPS site |
Top Previous Next |
This script command will perform a post transaction on a HTTP/HTTPS site. This is an example of the HTTPPOST command:
HTTPPOST "example.php" "infile.txt" "outfile.txt"
Consider the following example where your input source is a string rather than a file name
HTTPPOST "example.php" "this is the request body" "outfile.txt" /intype=string
Consider the following example where you would like the response body to be stored in a variable rather than a file.
HTTPPOST "example.php" "infile.txt" outvar /outtype=string
Consider the following example where your request body’s content is iso8859-1 encoded xml
HTTPPOST "/rootdir/example.php" "infile.xml" "outfile.xml" /contenttype="text/xml; charset=iso8859-1"
Wildcard characters are not permitted with the HTTPPOST command. |