|
if (body.slice(0, 5) !== '<?xml') { |
FulfillmentInventory.ListInventorySupply call does not return a valid XML prolog, thereby <?xml test fails and the CSV is assumed.
First line of the response is:
<ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
mws-api/lib/client.js
Line 129 in e109961
FulfillmentInventory.ListInventorySupplycall does not return a valid XML prolog, thereby<?xmltest fails and the CSV is assumed.First line of the response is: