send JSON-object (point or path) to server