[-][+] demo@doophp
Doophp RESTful API demo. Class used - DooRestClient
...

Food by ID http://www.doophp.com/demos/rest_client_server/index.php/api/food/list/1.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></result>

SimpleXMLElement Object
(
    [record] => SimpleXMLElement Object
        (
            [food] => One Ton Mee
            [type] => Noodles
            [rating] => 10 out of 10
        )

)

BACK TO LAST PAGE