5 points · by LinuxBender · 3y ago · 5 comments
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.
curl --header "Content-Type: application/json" --data '{"foo":"bar","baz":42}' https://httpbin.org/post
xh https://httpbin.org/post foo=bar baz:=42