To receive the information sent from server to client, we
use HttpEntity() to handle the response from the server,
HttpResponse() to execute HttpPost(), JSONAray() accept
encoded information from the server. In server side we use
json_encode() to encode value before sending to client.