Copy link to clipboard
Copied
i am posting couple form fileds through a CFHTTP to a vendor URL. some how even though i am sending only one post vendor is saying he is receive lots and lots of them. is there any thing i can do to find out how my CF server is behaving. like by any change is the CF server causing the issue. i am lost. can some one direct me...
Copy link to clipboard
Copied
I suggest that you post the code you are using and describe how the code is intended to be used.
Copy link to clipboard
Copied
Here is the code..........
<cfhttp method="Post"
urlhttps://xyz.asp"
<cfhttpparam type="Formfield"
value="#Token1#"
name="Token1">
<cfhttpparam type="Formfield"
value="#Token2#"
name="Token2">
<cfhttpparam type="Formfield"
value="#RequestType#"
name="RequestType">
<cfhttpparam type="Formfield"
value="YES"
name="UpdateAccountList">
<cfhttpparam type="Formfield"
value="#AccountList#"
name="AccountList">
<cfhttpparam type="Formfield"
value="YES"
name="UpdateProfile">
<cfhttpparam type="Formfield"
value="#fname#"
name="Fname">
<cfhttpparam type="Formfield"
value="#lname#"
name="Lname">
<cfhttpparam type="Formfield"
value="#acctinfo.email#"
name="Email">
</cfhttp>
i want to do a post when ever i run this...is that not simple....any way let me know.
Copy link to clipboard
Copied
It's that simple, generally.
There can be a bit of trickiness, if you have to import the SSL certificate to the Java Key Store so that ColdFusion can properly encrypt the post to the https url.
But if your problem is the other system getting multiple posts, then that would not be your issue. For this case, you would need to show or describe what is the logic around this code that could be running the cfhttp tag repeatedly.
ColdFusion will not make multiple requests form a single tag.