What is the proper “Rails Way” to consume a RESTful web service on another domain?

前端 未结 5 1603
感动是毒
感动是毒 2020-12-12 11:19

I would like to write a Ruby on Rails application that consumes a RESTful web service API performs some logic on the result and then displays that data on my view. For exam

5条回答
  •  旧巷少年郎
    2020-12-12 11:29

    if the remote RESTful web service was also created with Ruby on Rails, ActiveResource is the way to go.

提交回复
热议问题