Sometimes small actions are very powerful. I was recently using firebug and ran into a menu item called as copy as cURL. for e.g. when invoked on a DuckDuckGo search on "Fox4 weather" gives
curl 'https://duckduckgo.com/?q=fox4+weather&t=canonical' -H 'Host: duckduckgo.com' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'DNT: 1' -H 'Referer: https://duckduckgo.com/?q=fox4+wether&t=canonical' -H 'Connection: keep-alive'
Great idea Firebug team and I am hoping this small action will save me a lot of time in future.
curl 'https://duckduckgo.com/?q=fox4+weather&t=canonical' -H 'Host: duckduckgo.com' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'DNT: 1' -H 'Referer: https://duckduckgo.com/?q=fox4+wether&t=canonical' -H 'Connection: keep-alive'
Great idea Firebug team and I am hoping this small action will save me a lot of time in future.
Its there in Chrome's developer console too and been there for quite a while now.
ReplyDelete