RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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.

https://github.com/mayoral/rack-jsonp-utils

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in