3

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?

4
  • You already checked the suggested answer here stackoverflow.com/questions/19539391/… or doesn't that fit your requirements? Commented Aug 26, 2014 at 20:25
  • @matthias_h Thats not me what are you talking about? Commented Aug 26, 2014 at 20:26
  • Its an entirely different thing also...are you drunk:) Commented Aug 26, 2014 at 20:27
  • Sorry, that's a misunderstanding. I just thought the proposed answer on link above would be of help to solving your problem. Commented Aug 26, 2014 at 20:28

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.