Blankman
Blankman

Reputation: 266978

In Chrome, how can I see what AJAX requests are being made?

In Chrome, how can I see what AJAX requests are being made?

In Firefox I use Firebug and I can see any background AJAX request that are made.

Upvotes: 18

Views: 28891

Answers (4)

T. Webster
T. Webster

Reputation: 10099

Here's what works for me on Linux and Windows 10:

  • F12 to open developer tools
  • click on the network tab on the top list,
  • select XHR (it's circled in image below)

enter image description here

Upvotes: 3

AGan
AGan

Reputation: 487

In new Chrome browsers you can press F12 key or CTRL+SHIFT+I key combinations to view the Developer Tools. From there AJAX/XHR calls can be viewed through Network tab.

Upvotes: 0

FONGOH MARTIN
FONGOH MARTIN

Reputation: 181

you can also use liveHTTPHeader, a chrome/firefox extension. it works pretty well.enter image description here

Upvotes: 0

Phrogz
Phrogz

Reputation: 303207

  1. Open the developer tools with Ctrl-Shift-i, or via the menu at Wrench/Tools/Developer tools:
    Chrome Developer Tools

  2. Click on the Network Tab:
    Network Tab

  3. Click on the "XHR" link at the bottom of the list to filter the results to only AJAX requests:
    XHR link

  4. Click on a request at the left to select it and use the "Headers", "Content", "Cookies" and "Timing" tabs for that request to see more details:
    A good XHR request to make :)

You can use the separate window button in the bottom left of the tools to open the tools in their own window if you like.

Upvotes: 35

Related Questions