Capture CURL output