Korners

So I was trying to create a SmartApp that will arm and disarm Korner based on mode in ST and was copying this that was created for Arlo before Arlo had official ST integration:
https://community.smartthings.com/t/netgear-arlo-mode-management-autoarlo/34617

However, I am getting stuck at finding the httpPost for used to turn arming on and off. It seems like instead of running a httpPost call, the site calls a js script instead?
I am new to Java and not a programmer, but do have some base knowledge on programming.

Any help would be greatly appreciated.