Topic: HTTP Posts
I'm new to Ruby, Ruby on Rails and web development in general. I've never done socket programming before. I am trying to create a method to send an http request to a server. At the same time, I will need to be able to accept http posts from other clients. I have found examples of posting code on: http://ruby-doc.org/stdlib/libdoc/net/h HTTP.html; however, I'm not sure how to accept http posts. In addition, what controls how data is written to the client?
Are there any concrete examples of this? Can anyone tell me where to start? Thanks.