data = { :searchQuery => "some text" , :param => true } result = Rho::AsyncHttp.post( :url => "https://www.example.com", :body => data )
data = { :searchQuery => "some text" , :param => true } result = Rho::AsyncHttp.post( :url => "https://www.example.com", :headers => { "Content-Type" => "application/json; charset=utf-8", "Accept" => "application/json" }, :body => Rho::JSON.parse(data) )