4 ms·
I'm a big fan of right clicking on the request in the Chrome developer console and selecting "Copy as cURL". Obviously only works if you're doing browser stuff,
by pkulak 12y ago
I'm a big fan of right clicking on the request in the Chrome developer console and selecting "Copy as cURL". Obviously only works if you're doing browser stuff, but super helpful nonetheless.
- zachrose 12y agoIndeed. I've been looking for an HTTP library that will let me get curl representations of requests for debugging/collaboration. Something like: req = require('library').request(url, handler); console.log(req.toCurl()); Haven't found one yet.