cfhttp

Lets you execute HTTP POST and GET operations on files. Using cfhttp, you can execute standard GET operations and create a query object from a text file. POST operations lets you upload MIME file types to a server, or post cookie, formfield, URL, file, or CGI variables directly to a specified server.


Body

free

Example

<cfhttp
 [addtoken="boolean"]
 [authtype="string"]
 [charset="string"]
 [columns="string"]
 [compression="string"]
 [delimiter="string"]
 [domain="string"]
 [encodeurl="boolean"]
 [file="string"]
 [firstrowasheaders="boolean"]
 [getasbinary="string"]
 [method="string"]
 [multipart="boolean"]
 [multiparttype="string"]
 [name="string"]
 [password="string"]
 [path="string"]
 [port="number"]
 [preauth="boolean"]
 [proxypassword="string"]
 [proxyport="number"]
 [proxyserver="string"]
 [proxyuser="string"]
 [redirect="boolean"]
 [resolveurl="boolean"]
 [result="string"]
 [textqualifier="string"]
 [throwonerror="boolean"]
 [timeout="number"]
 url="string"
 [useragent="string"]
 [username="string"]
 [workstation="string"]
> 
 [</cfhttp>]

Attributes