How to send data to a webserver w/o uing the "client.print" command?

I’m working in a project to display the status and activation time of several digital inputs in a webserver based in an Arduino UNO + Ethernet shield + RTC module.
The problem I have is that the SRAM of the Arduino UNO gets easily full due to the “client.print” command line sed to display the data in the webserver. Because of this, I am currently analysing the possibility of programming a webserverd stored in the Ethernet shiled’s SD card, inspired in the TinyWebServer.
The question I have is how to send Arduino data to the webserver without using the “client.print” comand line. Any suggestion to start?
(I’m not a HTML or Java expert)

Thank you very much.


F() keeps the const char in PROGMEM.

Below is a short example of the F() progmem macro.

          client.println(F("<TITLE>Arduino GET test page</TITLE>"));

          client.println(F("<H1>Zoomkat's simple Arduino button</H1>"));
          client.println(F("<a href='/?on''>ON</a>")); 
          client.println(F("<a href='/?off''>OFF</a>")); 


The problem is not with the client.print() or client.println() function taking space in SRAM. It is with the constant data being printed being stored in SRAM that can be a problem.


will use no SRAM.

Not that sending one character at a time is good idea, but it illustrates a point.