Is there a simple way to feed in a URL and just get the response? 301, 200, 404 etc?

I have seen the ICMP stuff but I would like to make it as small and simple as possible. something along the lines of wget.