I have set up a http/rest server for testing. It works fine with the browser and in a test client app in vcl. But the identical thing in TMS gives error 0 (in the OnError event). It works with the TMS url in the demo. But it doesnt work with my server or with a local fibaro unit. Which both work with vcl and fmx clients I have done in the past.
What does error 0 mean ? And how can I get more information ion whats going wrong ?
The problem was the browser accessing localhost. It triggers the cross-site breach. I just tried on Firefox (I have an addon that can disable this on a page basis). When I disable it, the app works fine.
Suggestion, to save time for other people. Let the tmsweb http,rest,client components add a message to check for cross-site when you detect localhost.