the last trailing slah of base-url removed