Basic HTTP client from scratch

Good to know.

To expand on what Quinn wrote: if you do need sandboxed app (e.g. a UI app, not sure if this could apply to a terminal app) you could still use networking: on macOS you'd need to enable "outgoing network connections" permission (com.apple.security.network.client) or "incoming network connections" (com.apple.security.network.server), or both depending upon your needs – those are in the target's entitlements file.

2 Likes