Ask Ben: Manually Enforcing Basic HTTP Authorization In ColdFusion

<!--- Call CFC directly without authentication. --->
<cfhttp
	method="get"
	url="#strURL#"
	result="objGet">
 
	<cfhttpparam
		type="url"
		name="method"
		value="Test"
		/>
 
</cfhttp>
 
<!--- Output the response. --->
<cfdump
	var="#objGet#"
	label="CFHttp Response"
	/>

For Cut-and-Paste