I am trying to setup a new mobile payment solution and am having trouble
testing an xml post request that I need to make to the carrier’s site.
Here’s what I am using to test with right now. Keep in mind I’ve
changed the key to example for security reasons.
req = URI.escape(xml_req)
res = Net::HTTP.post_form(uri, req)
The site requires an xml request and everything listed in the xml_req is
what is required by the site.
The site URI is located in the uri and it is an https site.
Any help would be appreciated.