Return 405 when function doesn't match