It’s just a short note about a very useful tool.
Sometimes you’re testing integration with something which requires callback URL. And you definitely don’t want to run a fully blown server while you want to see what things are coming.
In this case you can run nc on the specified port and you’ll be able to see incoming response:
andy@andy:~$ nc -l 9000 GET / HTTP/1.1 Host: localhost:9000 Connection: keep-alive Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8