Added additional logging for curl request