mike_korcynski
8 years agoNew Contributor III
PUTing a XML String
I have a pipeline that goes through some work manipulating data, then starts using a XML Generator Snap to make a bunch of XML documents that need to get PUT to a REST API. Simplified, example of a ...
- 8 years ago
@mike.korcynski, check the Batch Size setting in the Snap - if it isn’t blank (for example, it has a value of
1
), you’ll see the kind of behavior you’re describing:If you leave it blank, it should not wrap the body in an array (also, be mindful of the correct Content-Type header value required by the targeted API):
The setting in question is described further on the REST PUT documentation page: