-- Hector Virgen <[email protected]> wrote
(on Tuesday, 22 March 2011, 12:03 PM -0700):
> I'm attempting to use Zend_Rest_Client to talk to our own in-house REST
> service which responds with a content-type of application/json, but it seems
> that Zend_Rest_Client is only compatible with XML responses. Is there a way
> to support non-XML responses such as JSON? Thanks!

Honestly, in situations such as this, I just use Zend_Http_Client, as
it's flexible and gives you the opportunity to inspect headers in order
to determine how to handle the returned content.

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to