Hi would like to ask help on IncomingHttpRequestFilter
currently i have disabled the delete if the request is not made by the localhost on the script below.
would like to ask the method on anonymize and send and how to disable it? Thanks!
function IncomingHttpRequestFilter(method, uri, ip, username, httpHeaders)
– Only allow DELETE action from localhost/127.0.0.1
if(ip ~= ‘localhost’ and ip ~= ‘127.0.0.1’)
then if (uri == ‘/app/explorer.html’)
then return true;
else if (method == “DELETE”)
then return false;
else return true;
end
end
else
return true;
end
end