Rack::JSONP::Utils
These two little middlewares will help you to support JSONP in your Rails API app. One of them will transform your response body into the callback text expected by your JSONP javascript request. The other will overwrite the request method of your Rails app.
Post a comment