With the given code -
function getPositions() { $.ajax({ url: \'https://\' + ipaddress + \':46272/NetAPICmd?Command=Output\', type: \'get