I'm new to LiveCode.
I made a simple program for getting the result of the HTTP request using tsNetGetSync.
But, I can't get the result over this function.
It was good well with LiveCode9.0.3 trial version.
After I purchased a product version, it's not working with that.
Here is my code snippet.
Code: Select all
put "Starting transfer" into field Statusm try put tsNetGetSync(tURL,tHeaders,tOutHeaders,tResult,tBytes) into tData catch errorParameter answer errorParameter end try if tResult is 200 then put "Transfer complete" into field Statusm else put "Transfer failed with server status code:" & tResult into field Statusm end if
Hope to get valuable help from anyone.