Ask Ben: Manually Enforcing Basic HTTP Authorization In ColdFusion

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

For Cut-and-Paste