To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /Glovo/Products HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GlovoCatalog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Glovo">
<attributes>
<Attributes>
<id>String</id>
<name>String</name>
<price_impact>String</price_impact>
<selected_by_default>false</selected_by_default>
<available>false</available>
</Attributes>
</attributes>
<attribute_groups>
<AttributesGroups>
<id>String</id>
<name>String</name>
<min>String</min>
<max>String</max>
<collapse>false</collapse>
<multiple_selection>false</multiple_selection>
<attributes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</attributes>
</AttributesGroups>
</attribute_groups>
<products>
<GlovoProducts>
<id>String</id>
<name>String</name>
<price>String</price>
<image_url>String</image_url>
<description>String</description>
<attributes_groups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</attributes_groups>
<available>false</available>
</GlovoProducts>
</products>
<collections>
<Collections>
<name>String</name>
<position>String</position>
<image_url>String</image_url>
<sections>
<Sections>
<name>String</name>
<position>String</position>
<products xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>String</d6p1:string>
</products>
</Sections>
</sections>
</Collections>
</collections>
<supercollections>
<SuperCollections>
<name>String</name>
<position>String</position>
<image_url>String</image_url>
<collections xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</collections>
</SuperCollections>
</supercollections>
</GlovoCatalog>