Zend_Rest_ServerIntroductionZend_Rest_Server is intended as a fully-featured REST server. REST Server UsageExample #1 Basic Zend_Rest_Server Usage - Classes
Example #2 Basic Zend_Rest_Server Usage - Functions
Calling a Zend_Rest_Server Service
To call a Zend_Rest_Server service, you must supply a
GET/POST
To call
or:
Sending A Custom Status
When returning values, to return a custom status, you may return an
array with a Example #3 Returning Custom Status
Returning Custom XML Responses
If you wish to return custom XML, simply return a
Example #4 Return Custom XML
The response from the service will be returned without modification to the client.
|