CfhttpHttpClient

debug

Return a struct of information showing how the client will execute the HyperRequest. This will be used by a developer to debug any differences between the generated request values and the expected request values.

NameTypeRequiredDefaultDescription

req

true

The HyperRequest to debug.

Return:

{
    "attributes" : attrCollection,
    "body"       : {
        "headers" : cfhttpHeaders,
        "params"  : cfhttpParams,
        "files"   : cfhttpFiles,
        "body"    : cfhttpBody
    }
}

Last updated