Net::HTTP is still a popular option though it doesn’t have the easiest API to remember. In order to Post & Access posted request object from the ruby script example is shown below: require “cgi” require “uri” require “net/http” #To Post data without form using RESTful Method url = URI.parse(“http://api.domain.com”) begin requestXml = “Johnjohn1234” http = …
Tag: Receive request of Posted data
Permanent link to this article: https://blog.openshell.in/2011/03/nethttp-raw-post-ruby-code/