How do I create a web service with rails?

Posted by NotDan on Stack Overflow See other posts from Stack Overflow or by NotDan
Published on 2010-04-11T23:30:53Z Indexed on 2010/04/11 23:33 UTC
Read the original article Hit count: 313

Filed under:
|

I have a silverlight application that needs to talk to a rails app to add a record. I have been able to get the silverlight app to successfully do the POST assuming everything goes good. Now, however, I need to be able to make it more robust and have the rails app return error/success messages to the silverlight app in a format it can read (xml maybe?). I can modify the rails app and silverlight app as needed.

What is the best way to accomplish this with rails?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about web-services