richard.herbert
09/21/2022, 10:04 AMinvalidHTTPMethodHandler()
setup in my Coldbox.cfc
to call my base handler, like so, invalidHTTPMethodHandler : 'v1:BaseHandler.onInvalidHTTPMethod'
In there I'd like to call the restHandler
invalidHTTPMethodHandler()
and tweak it a bit.
I started by trying...
function onInvalidHTTPMethod( event, rc, prc, faultAction, eventArguments ) {
coldbox.system.RestHandler.onInvalidHTTPMethod( event, rc, prc, faultAction, eventArguments );
}
...but get Page /views/Authentication/signin.cfm ... not found
So how can I capture the framework onInvalidHTTPMethod()
and tweak it to my needs?