This is an old revision of the document!
/* DESC: This script will supervise a specified host. * Copyright (C) 2023 NetModule AG, Switzerland, rfa */ //int nb_transfer_get ( string usr, string pwd, string url, string path) // https://httpbin.org/response-headers?company=NetModule&test=OK usr = ""; pwd = ""; file = "out.txt"; company = "NetModule"; data = "12.345"; url = sprintf("https://httpbin.org/response-headers?company=%s&data=%s", company, data); ret = nb_transfer_get (usr , pwd , url, file); printf("ret is %d\n"); printf(fread(fopen(file, "r"), 1024));