I'm trying to compose a vApp template based on a VM within a different vApp. Whenever I make the cURL request using the POST method against the API, I encounter the error: "The XML could not be parsed: Content not allowed in prolog." My code is attached.
All xx values contained sensitive information, and thus has been "redacted."