Added ability to define request's method

Useful temporary solution for Rest controllers