I have an application made in Java for Android platforms, and I need to send quite a lot of data, the data I am sending is the previous weeks SMS messages received and sent. That includes the following data:
- Sent by Phone number
- Sent by Name
- Sent to Phone number
- Sent to Name
- Time sent
- Message
And you can imagine this data can be really big for some people so I need a way to minimize/encrypt it on one side, and then using an HTTP request I can send it over to my server, and decrypt this data with PHP. What is the best method to do this? What size limit does HTTP POST have?
I think you should zip+encrypt(say, using aes) the data on Android side before sending the data to your server and decrypt+unzip it on the server side.
Post size depends on the config on the server side -> What is the size limit of a post request?.
p.s. why would anyone want to send all their sms messages to your server? 🙂