Adam
i need to store raw xml and json in my database.
I am using your "GETASjson" and "GETASxml" , but to call these functions i need to know what kind of request it is.
so i need to know request type (xml? json?)
we figured out, we are using MIMEEXT.
please see below code
<cfif arguments.MIMEEXT eq "json">
<cfset local.rawOutput = representationOf(output).GETASjson()>
<cfelseif arguments.MIMEEXT eq "xml">
<cfset local.rawOutput = representationOf(output).GETASxml()>
</cfif>
<cfset UpdateRawResponse(local.rawOutput,local.MainRequestId )>