For anyone wanting to reproduce the problem, the above test pipeline (I've changed the extension changed from ".json" to ".txt") contains 3 activities:
- A Web activity to issue a REST API GET request, to get makes of cars (using a publicly available anonymous endpoint)
- A Set Variable activity to extract the XML response from step 1 (into a variable called "Body")
- A Web activity to issue a REST API PUT request, to write the XML response to Blob storage (using the variable called "Body" from step 2)
For privacy/security reasons, I've amended the URL in the Web activity in step 3 (to use the storage account "mystorageaccount", and the container "mycontainer").