Is it possible to log HTTP request client side with javascript? For instance going to some website-> opening the chrome console-> enter some javascript and console.log GET and POST URL's. Similar as the chrome network tab does. I have Googled but couldn't find anything that addresses this problem. Is this only possible server side?
If you're talking about the request for the current page, no, there's not much you can do client-side. You can get some information on AJAX requests from the XMLHttpRequest object, but not as thorough as the browser's developer tools.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With