[b]"How do I specify a path when using a socket with curl?"[/b] or [b]"curl how to specify path when using a socke

20 Replies, 1649 Views

Wait, really? localhost is mandatory? That’s so bizarre.

I’ve been using socat as a workaround when curl how to specify path when using a socket gets finicky. It’s not as direct, but it gives you more control.

Example:
`socat - UNIX-CONNECT:/tmp/socket.sock`

Then you can manually send HTTP requests. Clunky, but educational!

Messages In This Thread



Users browsing this thread: 1 Guest(s)