Here's my question of the day. Let's say I have this on one page:
start.cfm
<cfset body = { "stuff": [ 1,2,3,4,5 ] }>
<cfhttp url="end.cfm" method="post" result="httpResp" timeout="60">
<cfhttpparam type="header" name="Content-Type" value="application/json">
<cfhttpparam type="body" value="#serializeJSON(body)#">
</cfhttp>
I can't figure out what end.cfm needs to have to output what's in the body. I've tried to cfdump everything from variables to form to cgi but I can't get to it. What am I missing?
Such a dumb question that I was able to answer it with some additional Googling.
<cfdump var="#GetHttpRequestData()#">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With