Marek Suppa personal blog

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

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.
Points
548
HN comments
238
Submissions
1
Cited by
0 commenters

Software EngineeringTools & Productivity2026

On Hacker News

SubmittedTitle on HNPointsComments
Jun 16, 2026TIL: You can make HTTP requests without curl using Bash /dev/TCP by mrshu548238

Related posts from the same era