Force httpGet to make call from gateway?

I have a situation where the gateway has internet access however my clients will not.
It seems the function makes requests directly from the client.

Is it possible to ‘funnel’ the calls through the gateway in some manner?

I considered making a gateway timer script that runs the call every minute then updating a memory tag with necessary info.
However, I was curious if there is a more tactful approach so I’m not having to call the API 24/7 just to make the tag data available when I press the ‘GO’ button in the client (the only time this value is necessary).


Try system.util.sendRequest(). Then in your project’s gateway scripts, handle the request by running httpGet().


Excellent! I’ll give this a shot.

That works nicely. Thanks a bunch pturmel!

1 Like