How do I use curl to make a request from the command line? or What's the best way to make a request w

24 Replies, 1639 Views

Pro tip: Use `-o` to save the output to a file.

```
curl -o output.html https://example.com
```

Also, `-L` follows redirects if the site moves.

For debugging, `--trace-ascii dump.txt` logs EVERYTHING. Super helpful!

Messages In This Thread



Users browsing this thread: 1 Guest(s)