new url method for get / post