In silent mode with curl, make sure to only get the xml (no headers)