this sample code can connect server, and post something data.