[Debug] 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 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).

 

[Debug] Copy a network request as fetch or cURL with Chrome DevTools

上一篇:2021-03-01


下一篇:vue-devtools安装