updated default base url to cotain a slash before the endpoint