Course lesson

Copy a network request as fetch or cURL with Chrome DevTools

Sometimes you encounter a backend issue which seems to occur only on your computer, with a very specific sets of headers, cookies etc. Because of that, it's useful to have a way of easily sharing network requests sent by your browser with other members of...

Duration
2 min
Access
Pro
Transcript
Available

Sometimes you encounter a backend issue which seems to occur only on your computer, with a very specific sets of headers, cookies etc. Because of that, it's useful to have a way of easily sharing network requests sent by your browser with other members of your team.

In this quick lesson we're going to learn how to copy a network request as fetch (so we can test it in the Chrome DevTools console/in a node.js script) or as cURL (so we can test it in a terminal).