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

22 Replies, 1967 Views

Hey folks!

Quick question—anyone know how to *curl get info when post*? Like, I’m trying to send some data with a POST request but also wanna see the full response headers, timing, etc.

I usually just do `curl -X POST [url] -d "data"`, but feel like I’m missing details.

Found `-v` for verbose, but it’s kinda messy. Any cleaner tricks? Maybe `-i` for headers? Or some combo I’m overlooking?

Also, does `--trace` or `--trace-ascii` help with *curl get info when post*? Or is that overkill?

Thanks in advance! 🙌

*(btw, if this is a dumb question, pls be gentle lol)*

Messages In This Thread
How to Use curl to Get Info When Posting a Request? or Can curl Get Info When Posting Data? How? - by - 20-06-2024, 06:49 AM



Users browsing this thread: 1 Guest(s)