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

22 Replies, 1968 Views

For timing, `-w "@format.txt"` lets you customize the output. Save this to `format.txt`:

```
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_total: %{time_total}\n
```

Now run `curl -w "@format.txt" [url]`. Super clean for curl get info when post!

Messages In This Thread



Users browsing this thread: 1 Guest(s)