ECMS-5664 fix the case for rest url