WebRequest - Response File assumes .json Output

In my example, I am iterating a web request and hope to save the response file. In this specific case the response is .XML format. However I notice that it assumes that the response is .json on the save file. (Fail if HTTP error, otherwise save response body to file)

Is there a suggested way to save the output to XML in the iteration concept?

Hi Adam,

If you specified an output file name with the “.xml” extension the action should save the response body into that file verbatim. You may need to pre-calculate output file names in a column prior to the action, and then use the column for file names, instead of the “Automatic” option.