Android Question reading Json data via php script

MikeFree

Member
I try to read json data from my local webserver.
typing manual the link in the browser json data are displyed.
But using code below only the error message appears.

/B4A
B4X:
.
'test - read article
    k.Initialize("", Me)
   `' k.Download("https://192.168.3.71/article_read_test.php")  --> no difference ...
    k.Download("http://192.168.3.71:80/article_read_test.php")
    If k.Success Then
       Log(k.GetString)
    Else
       Log("Error: " & k.ErrorMessage)
    End If

Is ist possible that B4A can fetch data using a php-script in the url ?
 
Top