Hacker News new | ask | show | jobs
by mlni 4437 days ago
Chrome dev tools make testing RESTful backends with curl very easy: right-click on a request in network panel and choose "Copy as curl". Priceless little gem.
1 comments

Can you explain this?

I would really be happy if there is any tool which give option "Copy as curl" !

https://i.imgur.com/sBGycyF.png

(would give - curl 'https://news.ycombinator.com/news.css?Iufnib6nCakqGh6wo0m6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36' --compressed )