in images/web/src/pod_broker.js [91:105]
set_config(app_name, data, cb, fcb) {
var url = new URL(this.broker_url + app_name + "/config/");
fetch(url, {
method: "POST",
headers: {
"content-type": "application/json"
},
body: JSON.stringify(data),
})
.then(function (response) {
return response.json();
})
.then(cb)
.finally(fcb);
}