4 ms·
When I use curl, it's mostly when I need to check header or to trace requests in the network, for which I just use -vvv. Simple one-off stuff. So I wonder how
by kh1 4y ago
When I use curl, it's mostly when I need to check header or to trace requests in the network, for which I just use -vvv. Simple one-off stuff.
So I wonder how much demand there actually is for advanced features like this.
When I need to make POST requests with queries and data, I would just use python because I most likely need to process the response (parse html, store json output to database, etc.).
Adding advanced features are nice, but IMO this might lead to over-engineering and it might be hard to maintain down the line.
- chrsig 4y ago> Adding advanced features are nice, but IMO this might lead to over-engineering and it might be hard to maintain down the line. curl's not exactly a new project -- this is 'down the line' for it. I personally welcome the change. I wont use it often, but when I will, I'll be quite happy that it's there. There are a number of other features I'd give up in it's stead.
- bfung 4y agoMore than several times, there are data APIs that return raw text/csv, esp taking data from older systems. Writing a scraper for those, bash & curl comes in handy w/o needing extra cruft of file writing ceremonies (ex: with open…), just pipe straight to file.
- selcuka 4y ago> Adding advanced features are nice, but IMO this might lead to over-engineering and it might be hard to maintain down the line. Well, one person [1] has been maintaining it since 1998. It's a good thing that HTTP doesn't change that often. [1] https://daniel.haxx.se/ https://daniel.haxx.se/