If memory is a concern why are you trying to send JSON to a memory limited device?
The used protocol was part of the requirements, so the existing web service could be re-used.
The used protocol was part of the requirements, so the existing web service could be re-used.