The biggest time saver: in DevTools, Network tab, right-click a request, "Copy as cURL", paste it here and pick the language. You get code with method, headers, cookies and body already set, which ends the trial and error of reproducing a call that works in the browser but fails in your script. It also works for docs: a vendor API's curl example becomes ready code for your project.
The site says it does not send or log what you paste: it is static, hosted on GitHub Pages, and converts with local JavaScript. Even so, the site itself warns that a curl copied from the browser carries session cookies and tokens. Strip those headers before pasting the code into a repository or an issue. There is a CLI on npm (curlconverter) and a VS Code extension.