curl sends web and other protocol requests from the command line. Defenders use it to check what a server returns, inspect headers and test their own endpoints.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | Raw requests | analyst terminal | your web server | REQUEST | GET / |
| 2 | Raw requests | your web server | analyst terminal | RESPONSE | 200 OK |
curl sends web and other protocol requests from the command line. Defenders use it to check what a server returns, inspect headers and test their own endpoints.
-I fetches only headers; -v shows the TLS handshake and full request/response.-L follows redirects; -o saves the body to a file for safe offline review.