client.py: check if bard_url ends with a / before constructing full url