
base_url = base_url.substr(0, base_url.length-1);