How to find if an Ajax request was successfully sent using the Fire-bug add-on?

Please explain to me how to use the Fire-bug add-on to check if the Ajax request was successfully sent from our application.

+6
source share
2 answers

When you turn on Firebug, there the tab is called "Network" - all requests are displayed, especially ajax. The Network tab allows you to filter requests and check request / response headers, status code and message.

So, if you turn on Firebug and open the "Network" tab (you may need to enable tracking first, in this case it will display a message), you will see if there was a request where you expected it to be.

To see only ajax requests, check the XHR in the top bar, just below the common tabs.

+9
source

It will appear on the console tab in firebug. I will show you the ajax call and request. it shows an ajax request, for example, if ajax is successful, then it gives 200 requests and displays data, or if the ajax request, if it fails, gives you a 301 request or some other request.

0
source

Source: https://habr.com/ru/post/897287/


All Articles