Get the latest tech news

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 still make an HTTP/1.1 request on its own through the /dev/tcp pseudo-device, without installing anything.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of curl

curl

Photo of Bash

Bash

Photo of HTTP

HTTP

Related news:

News photo

Curl will not accept vulnerability reports during July 2026

News photo

Tracing HTTP Requests with Go's net/HTTP/httptrace

News photo

An OS in pure Rust with its own TCP/IP and TLS 1.3 stack, fetching the live web