TIL: You can make HTTP requests without curl using Bash /dev/TCP

·Hacker News··

Minimal container images often ship without curl, wget, or any HTTP client at all. Bash can open a TCP socket through /dev/tcp, which is enough to write a tiny HTTP/1.1 request by hand for quick checks.

Read full article →

Related Articles

Google fixed more Chrome bugs in June than over the past two years, thanks to AI
Garbage · Hacker News · 1d ago
Tailscale didn't stop the Hugging Face intrusion
bluehatbrit · Hacker News · 16h ago
DeepSeek V4 Flash 0731 Intelligence, Performance and Price Analysis
theanonymousone · Hacker News · 1d ago
Golang proposal: container/: generic collection types
jabits · Hacker News · 17h ago
GCC steering committee announces AI policy
arto · Hacker News · 1d ago