Output communication test (structured data)

From ePrize Developers Wiki

Revision as of 16:04, 7 May 2009 by Brian-quail (Talk | contribs)
Jump to: navigation, search

API Home Page :: API Debugging

Request representation: empty

XML Response (Fully Supported):
<?xml version="1.0" encoding="UTF-8" ?>
<result>
  <name>Ken</name>
  <email>Ken Fox &lt;ken.fox@eprize.com&gt;</email>
  <favorite>http://www.eprize.com/</favorite>
  <favorite>http://code.eprize.com/wiki/</favorite>
  <id>1</id>
</result>

JSON Response (Coming Soon):
{
  "result" : {
    "email" : "Ken Fox <ken.fox@eprize.com>",
    "name" : "Ken",
    "id" : 1,
    "favorite" : [
      "http://www.eprize.com/",
      "http://code.eprize.com/wiki/"
    ]
  }
}

YAML Response (Coming Soon):
--- 
email: Ken Fox <ken.fox@eprize.com>
favorite: 
  - http://www.eprize.com/
  - http://code.eprize.com/wiki/
id: 1
name: Ken

This just verifies that the basic output system is working. It will also be useful for verifying different media type support as we introduce media types other then XML.

The only fully supported media type at this time is XML.

Personal tools