CFHTTPPARAM

Required for CFHTTP POST operations, CFHTTPPARAM is used to specify the parameters necessary to build a CFHTTP POST.

Syntax

<CFHTTPPARAM NAME="name"
    TYPE="type"
    VALUE="transaction type"
    FILE="filename">
NAME

Required. A variable name for the data being passed.

TYPE

Required. The transaction type. Valid entries are:

  • URL

  • FormField

  • Cookie

  • CGI

  • File

VALUE

Optional for TYPE="File". Specifies the value of the URL, FormField, Cookie, File, or CGI variable being passed.

FILE

Required for TYPE="File".

Example

cfhttpparam

 <!--- This example shows the use of CFHTTPPARAM ---> <HTML> <HEAD> <TITLE>CFHTTPPARAM Example</TITLE> </HEAD> <BODY bgcolor=silver> <H3>CFHTTPPARAM Example</H3> <P>This view-only example shows the use of CFHTTPPARAM to show ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.