use base_uri, not base_url