I made a friendly formatter for sniffing curl requests to help with debugging ( see comments for usage ). It contains's every known output parameter you can write out in an easy to read format.
https://gist.github.com/manifestinteractive/ce8dec10dcb4725b8513