renatoaloi / EtherEncLib

Ethernet ENC28J60 Library for Arduino
GNU General Public License v3.0
26 stars 14 forks source link

Send a Response #12

Open IcaroRios opened 6 years ago

IcaroRios commented 6 years ago

Hi, i'm having a problem to send a response...

This code: ` //MANDA RESPOSTA DA REQUISICAO

lib.print("HTTP/1.1 200 OK");

lib.print("Content-Type: application/json");

lib.print("Content-Length: ");

ret = "{\"RESULT\": \"True\"}";

lib.print(ret.length());

lib.print("{\"RESULT\": \"True\"}"); ` Should send a response, but do not send...