Dear friends,
please, I can read JSON output from PHP on the web with ESP8266?
my first step is :
trying standard way as in B4J, but I see that it is not good way because of library...it strue?
Please for advice what is the best direction for working with PHP json output in ESP8266
Best regards
p4ppc
please, I can read JSON output from PHP on the web with ESP8266?
my first step is :
trying standard way as in B4J, but I see that it is not good way because of library...it strue?
B4X:
Sub Go
Dim req As HttpRequest
req.InitializeGet("http://xxxx.xxx/yyyy/zzzz.php?" & "id=" & id)
httpC.Execute(req,1)
End Sub
Sub httpC_ResponseSuccess (Response As HttpResponse, TaskId As Int)
If Taskid=1 then
'here I will work with JSON
Dim result As String
Dim JSON As JSONParser
Dim restOpen As Int
result = Response.GetString("UTF8")
End if
End Sub
Please for advice what is the best direction for working with PHP json output in ESP8266
Best regards
p4ppc