3-1-Tags:CFHttpparam
last edited by
lmajano
on 23-Aug-2009
cfhttpparam
Description
Required for cfhttp POST operations, cfhttpparam is used to specify the parameters necessary to build a cfhttp POST.
Category
Other
Implemented
Usage Syntax
<cfhttpparam [name="String"] type="String" [value="Any"] [file="String"] [encoded="Boolean"] [mimetype="String"] />
[] = Optional attribute
Attributes
| Name | Type | Required | Default | Description |
| name | String | No | A variable name for the data being passed. | |
| type | String | Yes | The transaction type. | |
| value | Any | No | Specifies the value of the URL, FormField, Cookie, File, or CGI variable being passed. | |
| file | String | No | Required for type = "File". | |
| encoded | Boolean | No | Applies to FormField and CGI types; ignored for all other types. Specifies whether to URLEncode the form field or header. | |
| mimetype | String | No | Applies to File type; invalid for all other types. Specifies the MIME media type of the file contents. The content type can include an identifier for the character encoding of the file; for example, text/html; charset=ISO-8859-1 indicates that the file is HTML text in the ISO Latin-1 character encoding. |
SideBar
User Login
Comments (