7

I want only the json calls to be visible in the network panel.

Since a number of image and text calls are recorded, its hard to locate the ajax json response during debugging.

Is there a filter which can display all json request/response in the network tab only.

Sorter
  • 9,704
  • 6
  • 64
  • 74

3 Answers3

13

You may also filter by Content-Type/mime-type: mime-type:application/json Filter by Content-Type/mime-type

See Sorting and filtering and Network Filters

Felix
  • 3,999
  • 3
  • 42
  • 66
  • 1
    should be: `mime-type:text/javascript`. This works for me. – LuciferJack Jun 04 '18 at 10:06
  • see also https://stackoverflow.com/questions/14637278/is-there-a-way-to-filter-network-requests-using-google-chrome-developer-tools/27770139#27770139 – Felix Oct 27 '18 at 20:18
3

You can click on XHR to show your ajax calls, is that what you are looking for?
Go to the Network tab in the developer console, and then click XHR at the bottom to filter by this.

MDiesel
  • 2,647
  • 12
  • 14
0

I think you want to use this highlighted option to view only XHR requests.

Sachin Jain
  • 21,353
  • 33
  • 103
  • 168