5 ms·
curlconverter.com looks amazing, instant bookmark – thanks! I also use the browser's 'copy as curl' function quite frequently as it's so convenient, having all
by elaus 3y ago
curlconverter.com looks amazing, instant bookmark – thanks!
I also use the browser's 'copy as curl' function quite frequently as it's so convenient, having all auth and encoding headers set to _definitely_ work (instead of messing around with handmade, multi-line curl command lines)
- vdfs 3y agoBe aware that online service like this one might log your request which could have sensitive data, I'm not saying it does, but those websites give me the creep
- judge2020 3y agoI agree that it's possible, and that the majority of utility websites do use a backend to provide their utility, but it seems curlconverter.com doesn't make any requests to a website to convert and instead does so in javascript. It would be nice if more sites offered themselves as PWAs that worked when you set "throttling" to "offline" in the dev menu, so that you could ensure that no data is leaving the browser when working with sensitive info.
- adolph 3y agoMaybe that would be a nice browser plugin. Something that blocks any further requests. I guess it would work similarly to ad blockers, only once enabled blocks everything.
- dotancohen 3y agoJust unplug the cord, or disable the WiFi, for a few seconds. As we are presumably discussing sensitive data, nothing is as certain as the end of the cord in your palm.
- judge2020 3y agoAlthough an attack vector is it saving all that info in a buffer, continuously trying to beam it up until it gets a success response from the server.
- diegoperini 3y agoTrue. Luckily it's open source. You can do `npx curlconverter --language go example.com` behind a firewall after downloading the npm module.
- spdustin 3y agoI watched the network logs, and it doesn't seem to transmit anything. Additionally, their privacy info clearly states: > We do not transmit or record the curl commands you enter or what they're converted to. This is a static website (hosted on GitHub Pages) and the conversion happens entirely in your browser using JavaScript.
- lp0_on_fire 3y agoPrivacy policies on most websites mean jack when they can be changed at any time for any reason, imo. Not to mention the pattern nowadays is: offer a free service, pay a little lip service to privacy concerns, then the enshittification train comes rolling down the tracks a few years/ months later. Not saying this site is going to go down that path but IMO giving the benefit of the doubt with regard to privacy on the internet is bad practice for 2024.
- cloudwalk9 3y agoI kinda wish the address bar in any browser had an "advanced" popout menu that's basically a curl frontend with all of its bells and whistles. Basically move that functionality from the dev tools.
- elaus 3y agoSadly most major browsers go the opposite direction, removing more and more "advanced" functionality and information from the address bar (e.g. stripping the protocol, 'https:// https://', from the URL)
- LtdJorge 3y agoYeah, I hate that. Firefox also removed http when editing in the address bar
- Crespyl 3y agoFirefox on Android has recently started to hide the URL entirely when using the search-from-addressbar feature. Instead of the URL of the search page, it shows the search terms, which is redundant since the terms are already shown by the page itself.