Client Side URLConnection?

Is there a way to create a URLConnection that runs in the client’s browser instead of the server? I’d like the client to pass the response to the server so the server can still do the parsing, but I’m dealing with services that respond differently based on the region of the connection and there doesn’t appear to be a way to force that programatically.

The Xojo framework code runs entirely on the server, so no, URLConnection will only run server side. That said, if you know JavaScript, you can make http calls directly from the browser. That is in fact one of the ways the browser portion communicates with the server.

1 Like

Thanks Greg, that’s what I figured, but then I saw the WebTimer has a location option and it gave me hope. But maybe I can cobble something together with the Web Control SDK.