Fix issue with api exception decorator using the wrong HTTP verb