Hi and thanks to all people here.
I have this problem.
I download the example Called "ServerHelloWorld" of Erel.
All work fine on the example.
I want to get the data user enter on the form of HTML, then on B4J I make this:
Dim j As HttpJob
j.Initialize("", Me) 'name is empty as it is no longer needed
j.Download("http://127.0.0.1:/test:12345")
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
'The result is a json string. We parse it and log the fields.
'/////////////////////
Dim parser As JSONParser
parser.Initialize(j.GetString)
Dim root As List = parser.NextArray
For Each colroot As Map In root
NAME1 = colroot.Get("NAME1")
Next
End If
resp.Write("<p>TESTING ").Write(req.GetParameter("firstname")).Write("!").Write(NAME1))
This code I put on the handler.
But the FrontEnd side not show the variable I get from httpJob.
How can I download the data from the API and show on the user client?
On test mode all is on my PC, but on production will be diferent machines.