POST from Ruby to Meteor with Iron Router?
问题 I've been trying to get a message from a Ruby script to a webapp built with MeteorJS using POST, but I've been facing some issues. There isn't much documentation online about POST and GET method management with Iron Router. My Ruby script: meteorUri = URI('http://localhost:3000/newReport'); res = Net::HTTP.post_form(meteorUri, 'message' => 'HelloFromRuby', 'max' => '50') puts "From Meteor:\t#{res}" I don't have much experience with Ruby. The above code I got mostly online. The routing with