Yes, i'm uploading via the code editor panel, after uploading it i write to the console the onInit(); command and it does connect and show me the IP, the "GET" version of this code does work without problems but NOT the "POST" one.
if (r.method == "POST" && r.query && r.query.led)
Line 1 (if ) never exeute the digitlWrite since it find always "GET" as the method and never the "POST"
line 3 ALWAYS return "GET" not "POST" .
maybe it is because of i'm loading this server in local ?