lib/deepsecurity/soap_interface.rb
# Send an authenticated WebUI Request to the Server for URL +url and return the response body
Send an authenticated WebUI Request to the Server for URL +url and return the response body
Send an authenticated WebUI Request to the Server for URL + url and return the response body
def send_authenticated_http_post(path, body, sID)
      logger.debug { "#{self.class}\##{__method__}(#{path.inspect})" }
      url = "https://#{@hostname}:#{@port}#{path}"
      request = HTTPI::Request.new(url)
      request.auth.ssl.verify_mode = :none
      request.headers = {
          "Cookie" => "sID=#{sID}",
          "Content-Type" => "application/x-www-form-urlencoded"
      }
      request.gzip
      request.body = body
      response = HTTPI.post request
      response.body
    end
def send_authenticated_http_post ( path , body , sID ) logger . debug { "#{self.class}\##{__method__}(#{path.inspect})" } url = "https://#{@hostname}:#{@port}#{path}" request = HTTPI :: Request . new ( url ) request . auth . ssl . verify_mode = :none request . headers = { "Cookie" => "sID=#{sID}" , "Content-Type" => "application/x-www-form-urlencoded" } request . gzip request . body = body response = HTTPI . post request response . body end
Send an authenticated WebUI Request to the Server for URL +url and return the response body
Send an authenticated WebUI Request to the Server for URL + url and return the response body
path
<not_specific>
body
<not_specific>
sID
<not_specific>