Post request with passing xml body

xml_data = “”
response = HTTP.headers(endpoint_headers).send(method_name, endpoint_url,xml_data)

in the above code how to pass xml body using http gem only

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

Sponsor our Newsletter | Privacy Policy | Terms of Service