/dev tips

(2) DevTools Trigger pseudo classes DevTools Run predefined snippets of code on any web page (4)

Chrome DevTools: DevTools - replay a network request in cURL

15 Apr 2015
DevTools - replay a network request in cURL

Resources which show up in the network panel have a context menu which allows you to Copy as cURL, this will go into your clipboard at which point you can paste it into the command line, modify if necessary and then see the response. Request headers are also included.

In the example, I'm using: http://numbersapi.com/#42

Sign up to receive a developer tip, in the form of a gif, in your inbox each week.