Show HN: HTTP Request Translator
ryan.govost.es
ryan.govost.es
So I took the opportunity to learn a little bit of React, and wrote a simple tool to convert curl command line arguments to Python Requests. It covers only a small subset of curl options at this point, but the code should allow new ones to be added easily. The structure lets me to independently work on the parsing frontend or code generation backend, so I was able to easily add the ability to parse raw HTTP requests as well.
Someone pointed out that there is also the curl-to-Go tool which does the same thing for translating curl commands to Go code. https://mholt.github.io/curl-to-go/