Life as a web developer can be hard when things start going wrong. The problem could be in any number of places. Is there a problem with the request your sending, is the problem with the response, is there a problem with a request in a third party library you’re using, is an external API failing? There are lots of different tools that can make our life a little bit easier. Here are some command line tools that I’ve found to be invaluable.
Curl
Curl is a network transfer tool that’s very similar to wget, the main difference being that by default wget saves to file, and curl outputs to the command line. This makes is really simple to see the contents of a website. Here, for example, we can get our current IP from the ifconfig.me website:
$ curl ifconfig.me 93.96.141.93
Leave a Reply