extend("net")
extend("string")
extend("array")

net:fetch("https:cube.nu11.uk", body => 
  sput(
    string:concat( "items ",
      string:to_string(array:length(body))
    )
  )
)

handleResponse = body => {
  sput(string:concat( "items ", string:to_string(array:length(body))))
}

handleResponse = result => {
  sput( result )
}

net:fetch("https:cube.nu11.uk", handleResponse)

