
How can I send http requests with Livecode and evaluate the response from the web server?
I use the community version ...
many Greetings
Gille
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
...
put url("https://192.168.0.240/app_about") into tServerAntwort
## Check for errors here, I'll leave that to you :-)
## The server returns a JSON array, and LC can convert this to a LC array:
put JSONtoArray(tServerAntwort) into tLCArray
## Now you can parse that array LCArray...
...