# Open a terminal and run
./run-rails-app.sh
# Open other terminal and run
./run-rack-app.sh
serradura/test-rack-cors
Sample os how to request from an app (Rack) via ajax to another one (Rails).
Ruby
Sample os how to request from an app (Rack) via ajax to another one (Rails).
Ruby