Today, a web-portal that does not support APIs is not even considered a web portal! This post explains how we can implement Rails APIs in our application. It talks about API keys, API versioning and authentication techniques.
Most of us are aware that enabling API access for rails application is easy as Rails provides RESTful APIs by default. However, a little complexity arises when some responses are expected in xml format (maybe for some legacy system) and JSON format. Complexity increases when these API calls need authentication. The initial obvious thought that … Continue reading Designing Rails API using Rabl and Devise
Command to download/copy rails api to work locally(offline) mode.wget -mk http://www.api.rubyonrails.orgFor more information click