How to Use curl to Get Info When Making a POST Request? or Can curl Retrieve Response Info When Sendi

20 Replies, 2008 Views

If you're on Windows, check out `curl.exe --trace-ascii debug.txt`.

Saves all the gory details to a file, so you can inspect later.

Also, `-H "Accept: application/json"` ensures you get JSON back (if the API supports it).

Messages In This Thread



Users browsing this thread: 1 Guest(s)