TLDR Dev · QUICK LINKS

MAKING HTTP REQUESTS FROM A CONTAINER THAT HAS NO CURL, USING BASH /DEV/TCP

mareksuppa.com4 min read

Summary from the TLDR Dev newsletter

Bash allows for manual HTTP requests and connectivity checks in minimal containers by using its internal /dev/tcp redirection to open and communicate over TCP sockets without needing external tools like curl or wget.