Added trailing slash to endpoints