Henry
Posts: 0
Joined: Wed Jul 01, 2015 3:59 am

Array --> XML --> POST request

I have an array of objects. I am using the Appery data mapper (the visual mapper) to format these for an XML post request.

Let's say the object has three items.

When the XML is mapped. The output is:
code

<0>
<ITEM1></ITEM1>
</0>

<1>
<ITEM2></ITEM2>
</1>

<2>
<ITEM3></ITEM3>
<3>

/code
I wish to have this

code

<ITEM1>
<ITEM2>
<ITEM3>

/code
How can I alter the config to make this a reality?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Array --> XML --> POST request

Hello,

Appery.io parse automatically XML to JSON, so you can proccess that data with custom JS.
What is Response Data Type in this service? Is it XML?

Henry
Posts: 0
Joined: Wed Jul 01, 2015 3:59 am

Array --> XML --> POST request

Hello Sergiy.

I ended up using a custom JS solution.

Thank you in any case.

Return to “Issues”