Ruby on Rails API that functions similar to WCF does on ASP.NET [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionIs there an API similar to WCF for R开发者_如何学Gouby on Rails? WCF has a lot of advantages and is a very easy method to have a service running and clients using it. I want to know if there is an API similar to WCF for the Ruby on Rails platform
Ruby on Rails uses RESTful web services by default, and you can easily generate routes and controller actions for these "out of the box". Like WCF, Rails supports both JSON and XML formats for data transfer.
If you need to support SOAP, there are Rails ad-ons, such as savon.
ian.
精彩评论