On my site right now, I'm passing in data through a query string to a page. I'd like to change that so that the data is passed as a POST parameter.
My previous statement looked like this:
<cf_location url="mypage.cfm?id=123">
And I replaced it with:
<cfhttp method="post" url="mypage.cfm">
<cfhttpparam name="theID" type="URL" value="123">
</cfhttp>
But cfhttp isn't posting anything. In Firebug, nothing shows up in the NET tab, and nothing happens when that code is supposed to run.
Am I doing this incorrectly? Am I using the right type in the cfhttpparam? I'm very new to ColdFusion, so this is difficult for me.