How can I use curl to show response headers in my requests?

22 Replies, 1470 Views

Pro tip: Combine `-i` with `-o` to save the output to a file. Super useful if you’re testing APIs and want to review the headers and body later.

```bash
curl -i -o output.txt https://example.com
```

Messages In This Thread



Users browsing this thread: 1 Guest(s)