Getting data and posting in client working