From d5046b4ba97c53bb46b3ccdea90079a815568f11 Mon Sep 17 00:00:00 2001 From: tilman Date: Wed, 15 Jul 2026 18:35:50 +0000 Subject: [PATCH] freezer.ino - JSON Content Type --- freezer/freezer.ino/freezer.ino.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freezer/freezer.ino/freezer.ino.ino b/freezer/freezer.ino/freezer.ino.ino index 6d63487..7289a7a 100644 --- a/freezer/freezer.ino/freezer.ino.ino +++ b/freezer/freezer.ino/freezer.ino.ino @@ -81,7 +81,7 @@ void loop() { // HTTP headers always start with a response code (e.g. HTTP/1.1 200 OK) // and a content-type so the client knows what's coming, then a blank line: client.println("HTTP/1.1 200 OK"); - client.println("Content-type: text/html; charset=utf-8"); + client.println("Content-type: application/json; charset=utf-8"); client.println("Connection: close"); client.println();