Collect all data from the server.