Send heart rete from watch to a sever directly via wif-fi

Hello

I recently purchased model a Forerunner 745,
My target is to send bio data like heart rate to my server via Wi-Fi,
First when I reviewed this forum many post mentioned that we can not use Wi-Fi directly to send makeWebRequest.

Then in the Garmin App Store I saw this app called "APICall"
https://apps.garmin.com/en-US/apps/ac9a81ab-a52d-41b3-8c14-940a9de37544

In this App you can set a URL and the app with send a get request to it. If the watch is connected to the phone it use BLE to the task. If the watch is not connected to the phone it start WIFI sync and then send it directly via WIFI.

Can anybody help me with a sample code to that?
In thisway i think it is passible to send data from watch directly via Wi-Fi.