Food by ID http://www.doophp.com/demos/rest_client_server/index.php/api/food/list/all.xml
Result:
HTTP result code: 200
Received content-type: application/xml; charset=utf-8
XML string:
<result><record><food>One Ton Mee</food><type>Noodles</type><rating>10 out of 10</rating></record><record><food>Bak Kut Teh</food><type>Meat</type><rating>10 out of 10</rating></record><record><food>Asam Laksa</food><type>Noodles</type><rating>10 out of 10</rating></record><record><food>Mee Rebus</food><type>Noodles</type><rating>10 out of 10</rating></record><record><food>Nasi Lemak</food><type>Rice</type><rating>10 out of 10</rating></record><record><food>Roti Canai</food><type>Bread?</type><rating>10 out of 10</rating></record><record><food>Bubur Ayam KFC</food><type>Porridge</type><rating>5 out of 10</rating></record><record><food>Dim Sum</food><type>Touch Heart??</type><rating>11 out of 10</rating></record><record><food>Ampang Neong Toh Fu</food><type>Tofu</type><rating>10 out of 10</rating></record></result>
SimpleXMLElement Object
(
[record] => Array
(
[0] => SimpleXMLElement Object
(
[food] => One Ton Mee
[type] => Noodles
[rating] => 10 out of 10
)
[1] => SimpleXMLElement Object
(
[food] => Bak Kut Teh
[type] => Meat
[rating] => 10 out of 10
)
[2] => SimpleXMLElement Object
(
[food] => Asam Laksa
[type] => Noodles
[rating] => 10 out of 10
)
[3] => SimpleXMLElement Object
(
[food] => Mee Rebus
[type] => Noodles
[rating] => 10 out of 10
)
[4] => SimpleXMLElement Object
(
[food] => Nasi Lemak
[type] => Rice
[rating] => 10 out of 10
)
[5] => SimpleXMLElement Object
(
[food] => Roti Canai
[type] => Bread?
[rating] => 10 out of 10
)
[6] => SimpleXMLElement Object
(
[food] => Bubur Ayam KFC
[type] => Porridge
[rating] => 5 out of 10
)
[7] => SimpleXMLElement Object
(
[food] => Dim Sum
[type] => Touch Heart??
[rating] => 11 out of 10
)
[8] => SimpleXMLElement Object
(
[food] => Ampang Neong Toh Fu
[type] => Tofu
[rating] => 10 out of 10
)
)
)
BACK TO LAST PAGE