@viart Is this a way to call either rest.put or rest.post function?