add suport for http methods (e.g. GET, POST, PUT)