it can communicate with server and post data to get JSON content