<cfscript>
// Extract inbound HTTP headers.
incomingHeaders = getHttpRequestData( false ).headers;
// Prepare HTTP headers to be echoed in BODY of response.
serializedHeaders = serializeJson( incomingHeaders );
responsePayload = charsetDecode( serializedHeaders, "utf8" );
content
type = "application/json; charset=utf8"
variable = responsePayload
;
</cfscript>
Spreading Http And HttpParam Tags Across Multiple Function Calls In Lucee CFML 5.3.8.201
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.