fixed the rest url