I have a very simple Ruby Rack server, like:
app = Proc.new do |env| req = Rack::Request.new(env).params p req.inspect [200, { \'Content-Type\' =>
It seems that I'm supposed to use something like:
msg = JSON.parse env['rack.input'].read
Then just use params in the msg hash.
params
msg
At least it worked for me this way.