It’s bloody 2024, think we can agree on either wget or curl being installed by default on every freaking operating system by now so shell scripts can have a guaranteed way of carrying out http requests?
I mean it’s been about 35 years. I think it’s about time.
@aral Try bash
exec 5<>/dev/tcp/fosstodon.org/80
echo -e "GET / HTTP/1.1\r\nhost: fosstodon.org\r\nConnection: close\r\n\r\n" >&5
cat <&5