Added http method in the view