Copy link to clipboard
Copied
I have a jQuery that sends the data via post to my proxy ColdFusion page. However, in the this page, I'm not sure how to go about retrieving those values. I tried to log the following in my CFHTTP tag:
<cflog text="URL: #URL#" type="Information" file="CGIparameters">
<cflog text="URL-Name: #URL.name#" type="Information" file="CGIparameters">
But I always get this error:
"NetworkError: 500 Complex object types...erted to simple values. - https://devbox.mysite.com/customcf/kb/proxyPost-KB.cfm"
This is the JavaScript that's posting to the proxy page. However, I don't think there is anything wrong with the JavaScript. I tried putting static values in the CFHTTPPARAM and there is no errors. It was able to send the data to JSON API.
They will be in the FORM or URL scope. This is a very basic question and there are many sources available to learn CF very quickly that you'll want to check out. Here is a thread with a couple: What is the best way to learn ColdFusion
Copy link to clipboard
Copied
They will be in the FORM or URL scope. This is a very basic question and there are many sources available to learn CF very quickly that you'll want to check out. Here is a thread with a couple: What is the best way to learn ColdFusion
Copy link to clipboard
Copied
Thanks! I forgot I was supposed to use form scope for post and url for get.