[soil] Use curl --fail-with-body to detect errors