added support for an attribute to handle any httpmethod