Got the app to send data to the server.
Problems:
It can only send the data once, then it stops sending data.