Basic post/get automatic writing to server