for rest url