https://catonmat.net/cookbooks/curl/debug-curl-requests
Debug Curl Requests (TLDR: Use -v or --trace arguments) – Curl Cookbook
Organic, nutritious, and completely irresistible curl recipes that show you how to debug curl requests to see what it's sending and receiving.
debug curl requeststldr