Hi,
I am in the middle of putting a RESTful api together for a new app.
I was wondering if anyone has any suggestions or experience with adding
a status code to all xml output?
So that a response that looks like
<user>
<about_me>this is a test descripton of me new line test</about_me>
</user>
Will look like
<response code=200>
<user>
<about_me>this is a test descripton of me new line
test</about_me>
</user>
</response>
Or maybe something similar to how twitter have implemented error codes,
any suggestions?
(
http://groups.google.com/group/twitter-development-talk/web/api-documentation
)
Thanks,
Scott
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---