Hi,
Here is the problem. How do I access the data sent via HTTP POST or GET in chrome extension. I tried using the webRequest.onBeforeRequest.addListner and look for details.url. But details.url is not showing the parameter values or form values that are sent. Basically I want to interrogate any malicious characters that are sent via POST and GET requests and block the website. So my basic question is how to see the contents of POST and GET requests in chrome extension? Any help is greatly appreciated.
Here, the details.url is not showing the contents posted via HTTP post and GET requests.
chrome.webRequest.onBeforeRequest.addListener(function (details)
if(details.method == "GET")
coonsole.log(details.url);
},
{urls: ["<all_urls>"]}, ["blocking","requestBody"]);
Thanks
John Fedor