I’m getting the red flash of “Out of heap memory” here. Code is this:
#include <string.h>
#define LIB_DOMAIN "exampleapp.com"
TCPClient client;
void setup() {
}
void loop() {
client.connect(LIB_DOMAIN, 80);
client.println("GET /status HTTP/1.0");
client.println("Host: " LIB_DOMAIN);
client.println("Content-Length: 0");
client.println();
}
The app I’m sending the GET request to just returns a text response of “success” so I’m not sure exactly what’s overloading the memory. Thoughts?