Implementation of a rough sketch of how to send data from the server