Trying to send a URL with a query string appended
Hi - I'm trying to use Cold Fusion to send information via query string. The company I am trying to send the info to gave me the URL below. I have created a variable call couponName and am trying to send it to them so that it looks like this: https://company.com/exec/coupon.tsb?couponName=whatever
My code is below. It does not work. If I type the info directly into the browser, substituting the actual coupon name for the variable couponName, it does work.
<cfhttp
method="Get"
url="https://company.com/exec/coupon.tsb">
<cfhttpparam name="couponName" value="#couponName#" type="url" />
</cfhttp>
