Sorry, maybe I'm boring, but only one more problem. When I performed in the Smart Mobile Studio, everything worked right, but when I run it in a browser (like Chrome), I get the following error messages and nothing is done .
Failed to load http://18.104.22.168:8080/drzave: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
VM62:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Object.W3Button1Click.Req$1.OnDataReady (index.html:16974)
at Object.HandleReadyStateChange (index.html:17162)
at XMLHttpRequest.<anonymous> (index.html:396)