How can I connect multichain node with ruby code to store application data? Would it be like
url="http://" + auth + "@" + host + ":" + port
uri = URI.parse(url)
http = Net::HTTP.new(uri.host, uri.port)
req = Net::HTTP::Post.new("Content-Type" => "application/json")'''
req.body = {method: 'publish', params: ["transactionStream","key","0A0A"] , id: ::SecureRandom.uuid }.to_json
response = http.request(req)