# curl — fetch a URL from the command line

`curl` — fetch a URL from the command line.

## Example

```bash
curl https://api.anthropic.com/v1/messages -H "x-api-key: $KEY" -d '{…}'
```

This site also runs the command in a browser terminal simulator, so the examples above
can be typed and executed without installing anything.

Source: https://zero2vibecode.com/commands/curl
