Hacker News new | ask | show | jobs
by sbarre 4683 days ago
"Copy as cURL" is great! I'm curious to see if it even builds POST requests properly..

Edit: it does! It includes all the headers, the POST data, etc...

3 comments

Even the cookies. It's been in webkit for a while. SO USEFUL.

You can also use it to leech stuff from login/captcha protected download areas like rapidshare or the apple dev center. No more failed browser downloads of 1gig files! Just add -C to your curl command!

I think it's actually "-C -" to tell it to automatically figure out where to restart.
Well Chrome had this feature for a long time. Personally I don't find it much useful. But to me the killer feature of firebug is that when you open an XHR entry in new tab it opens the tab with all POST variables. Super handy when debugging REST api.
I don't know that this is in regular Chrome (at least I can't find it). Google-fu says that Chromium has it though..
It's in Chrome for Linux and Windows for me.

http://i.imgur.com/42D59mv.png

"Copy as cURL" is pretty much the greatest addition to web dev/debugging since I started like 15 years ago..