fault) 401 - Unauthorized 403 - Forbidden 404 - Not Found 405 - Method Not Allowed (maybe you are using GET where you are supposed to use POST) 500 - Internal Server Error (it was our fault) 501 - Not Implemented 502 - Bad Gateway (you are accessing this through a proxy server, and the proxy server got an error from the original server) more…
app of your choice • Look at all request/responses • Use the filter panel to look at only the Ajax request/responses • Use the text filter to view only the requests with a particular substring in the URL • Select a particular request/response and inspect the, headers tab, preview tab, response tab, and the timing tab • Re-issue the request by copying its URL, a cURL command, or by replaying the request
• Is it caused by • front-end code • error in the way the request is sent • both the request and response look good, so problem must be with elsewhere in the front-end • back-end code
there a request with an error response? Look in the console or look through the list of requests in the Network Tools • Use your knowledge of the code. Which request is supposed to retrieve the data that’s not being displayed correctly, or cause a change to the database correctly?
at the response times - are individual responses taking a long time? • Look at the number of requests - are there many requests? the fewer the better (Browsers can only send 3-6 requests in parallel) • What are the requests doing? Can we eliminate some of them by batch multiple requests into one