Open boggiz opened 6 days ago
Hi @boggiz,
What is the content of the JSON input string? Can you ~double~triple-check that it's not empty?
Best regards, Benoit
Thank you for taking care of my problem @bblanchon . Into Firefox url's I wrote: http://192.168.69.143/PG/rec?key=25 In a red banner Firefox print SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data ESP serial monitor print EmptyInput After many tries I never managed to get any other error than Empty Input Best regards Boggiz
Description When I send this JSON from Firefox to my ESP8266: http://192.168.69.143/PG/rec http server returns Not Found if rec or PG are omitted => correct on the other hand it systematically returns deserializeJson() failed: EmptyInput whatever follows the ? http://192.168.69.143/PG/rec?key=25 Something is surely incorrect or missing in my script but what?
Troubleshooter's report
deserializeJson()
returnsEmptyInput
Environment
Reproduction code