3 ms·
Opportunity: Write a tool that can fetch a URL over HTTP/1.1 (and nothing else). Use a memory safe language. Support the most commonly used curl CLI options. C
by tpmx 3y ago
Opportunity:
Write a tool that can fetch a URL over HTTP/1.1 (and nothing else). Use a memory safe language. Support the most commonly used curl CLI options. Come up with a suitable name for the distribution but make sure that the actual installed binary is called curl.
- frankjr 3y agoCheck out xh - much easier to use than curl and faster than HTTPie. https://github.com/ducaale/xh https://github.com/ducaale/xh
- Minor49er 3y agoWhat makes this much easier to use than cURL? Looking at the examples in xh, it seems that the syntax takes about the same amount of effort to learn
- frankjr 3y agocurl --header "Content-Type: application/json" --data '{"foo":"bar","baz":42}' https://httpbin.org/post xh https://httpbin.org/post foo=bar baz:=42