#115 remove trailing / from api endpoint