How to Use curl to Get Info When Posting a Request? or Can curl Get Info When Posting Data? How?

22 Replies, 2055 Views

`-i` is great for headers, but if you want timing details, try `-w` with format strings. Something like:

```
curl -X POST [url] -d "data" -w "Time: %{time_total}\nSize: %{size_download}\n"
```

For curl get info when post, this gives you just the metrics you need without the noise.

Messages In This Thread



Users browsing this thread: 1 Guest(s)