Debugging HTTP requests
There are many ways to debug HTTP requests. The most common way is to use the developer tools, as these are easily accessible in most web browsers. It is also quite helpful when you are developing a website to keep these tools open and navigate between the tabs to debug UI components and network requests.
But there are also other tools that you can use, such as Postman (https://www.postman.com/) or Insomnia (https://insomnia.rest/), which were designed specifically for this purpose and offer many features out of the box (collections, authentication, etc.). These tools are the best option if you don’t have a website and you are just testing API endpoints directly.
In the next chapters, we will use the developer tools of the browser to debug our HTTP transactions and will use Jest to test and debug our HTTP requests.
Other developers use more advanced tools such as Charles (https://www.charlesproxy.com/) or Wireshark (https://www.wireshark.org...