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

Food Update http://www.doophp.com/demos/rest_client_server/index.php/api/food/update

Result:
HTTP result code: 200
Received content-type: application/xml; charset=utf-8

XML string:

<result><record><type>steak</type><food>Lamb Steak</food><rating>10 out of 10</rating><updatedId>2</updatedId></record></result>

SimpleXMLElement Object
(
    [record] => SimpleXMLElement Object
        (
            [type] => steak
            [food] => Lamb Steak
            [rating] => 10 out of 10
            [updatedId] => 2
        )

)

BACK TO LAST PAGE