reverse rest on client