3 ms·
"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...
by sbarre 13y 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...
- JonnieCache 13y agoEven 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!
- sbarre 13y agoI think it's actually "-C -" to tell it to automatically figure out where to restart.
- tmister 13y agoWell 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.
- sbarre 13y agoI don't know that this is in regular Chrome (at least I can't find it). Google-fu says that Chromium has it though..
- thejosh 13y agoIt's in Chrome for Linux and Windows for me. http://i.imgur.com/42D59mv.png http://i.imgur.com/42D59mv.png
- paulirish 13y agoYup it's in regular Chrome: https://developers.google.com/chrome-developer-tools/docs/network#copying_requests_as_curl_commands https://developers.google.com/chrome-developer-tools/docs/ne...
- mh- 13y ago"Copy as cURL" is pretty much the greatest addition to web dev/debugging since I started like 15 years ago..