set default method to GET