http method skeleton