updating api call to remove /api from url