Hi,

First time here.  I've been researching GData, REST and APP and have a
question about exceptions.

For example, suppose I have a REST hybrid servie along the lines of:

http://example.com/events?method=addEvent

And I POST to this URL with the following data:

<event xmlns="http://example.com/events";><date>junk data</
date><location>123 anywhere st, san francisco, ca</location></event>

The call would crap out because I didn't supply a proper date.  I
might get something like:

<exampleAPI_response status="error">
  <code>999</code>
  <message>The date was invalid.</message>
</exampleAPI_response>

But how does this work with GData and APP?  How are exceptions handled
and is there a standard?  Do I get back an ATOM feed with a single
entry that contains the error code/message?

How does this work with the Google Calendar API if I try to post junk?

Thanks
Dan.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to