function onRequest(context, url, request) {
// Save some state to sharedState
sharedState.data = "custom";
sharedState.info = {"username": "Proxyman"};
// Increase the global counter
var count = sharedState.count ?? 0;
sharedState.count = count;
console.log(sharedState);
function onResponse(context, url, request, response) {
console.log("Custom data = " + sharedState.dataa);
console.log("sharedState.count = " + sharedState.count);