- base_url and get_url in resource