added ability to set routes for different request methods

Just `'GET'` literal string would be fine.