Hacker News new | ask | show | jobs
by ea016 969 days ago
Steps to do so:

- open the network console

- right click on the request

- click "copy as curl"

- visit https://curlconverter.com/ to convert to Python/Node/any language

4 comments

Also available as a VSCode extension that automatically matches the pasted content to the programming language used in the current file: https://marketplace.visualstudio.com/items?itemName=curlconv...
I made a fork of the Chrome DevTools that adds "Copy as Python" to the right click menu of each request in the Network tab. You can tell Chrome to use a different version of the DevTools if you start it from the command line

https://github.com/curlconverter/curlconverter/issues/64#iss...

Thank you for this. I didn’t know curlconverter existed.
This is my current workflow, though with ChatGPT.

I was just trying to save a few clicks

You made your request sound important to implement when you already have a workaround that doesn't take very much time...

This is why feature bloat is a thing

I was to say this lol