commented postToserver code