Skip to content

Instantly share code, notes, and snippets.

@farrelley
Created May 21, 2010 18:52
Show Gist options
  • Save farrelley/409264 to your computer and use it in GitHub Desktop.
Save farrelley/409264 to your computer and use it in GitHub Desktop.
REQUEST SENT
{"request":{"action":{"type":"status","data":{"test_string":"This is a Joind.in Test"},"output":"xml"}}}
RESONSE FROM JOIND.IN
object(Zend_Http_Response)#40 (5) {
["version:protected"] => string(3) "1.1"
["code:protected"] => int(200)
["message:protected"] => string(2) "OK"
["headers:protected"] => array(7) {
["Date"] => string(29) "Fri, 21 May 2010 18:44:12 GMT"
["Server"] => string(30) "Apache/2.0.63 (Unix) PHP/5.2.8"
["X-powered-by"] => string(9) "PHP/5.2.8"
["Set-cookie"] => string(364) "ci_session=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%2258365dfcab26d73cc55045e308635503%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22140.147.246.104%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A16%3A%22Zend_Http_Client%22%3Bs%3A13%3A%22last_activity%22%3Bs%3A10%3A%221274467452%22%3B%7Ddda6f2329036851d313245f828de6bbb; expires=Fri, 21-May-2010 22:44:12 GMT; path=/"
["Content-length"] => string(3) "283"
["Connection"] => string(5) "close"
["Content-type"] => string(8) "text/xml"
}
["body:protected"] => string(283) "<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>A PHP Error was encountered</h4>
<p>Severity: Notice</p>
<p>Message: Undefined offset: 0</p>
<p>Filename: api/out_xml.php</p>
<p>Line Number: 6</p>
</div><?xml version="1.0"?>
<response></response>
"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment