Making HTTP requests from a container with no curl using bash /dev/tcp
Summary
This article demonstrates how to perform an HTTP GET from a minimal container without curl by using Bash's /dev/tcp redirection. It provides a small, runnable pattern to open a socket, craft a raw HTTP request, and read the response, plus notes on DNS, TLS limitations, and portability. It also discusses when curl is still preferable for routine tasks.