source/code/plugins/agent_maintenance_script.rb
# Return a POST request with the specified headers, URI, and body, and an
#     HTTP to execute that request
Return a POST request with the specified headers, URI, and body, and an
HTTP to execute that request
Return a POST request with the specified headers URI and body and an HTTP to execute that request
def form_post_request_and_http(headers, uri_string, body, cert, key)
      uri = URI.parse(uri_string)
      req = Net::HTTP::Post.new(uri.request_uri, headers)
      req.body = body
      http = OMS::Common.create_secure_http(uri, get_proxy_info)
      http.cert = cert
      http.key = key
      return req, http
    end
def form_post_request_and_http ( headers , uri_string , body , cert , key ) uri = URI . parse ( uri_string ) req = Net :: HTTP :: Post . new ( uri . request_uri , headers ) req . body = body http = OMS :: Common . create_secure_http ( uri , get_proxy_info ) http . cert = cert http . key = key return req , http end
Return a POST request with the specified headers, URI, and body, and an
HTTP to execute that request
Return a POST request with the specified headers URI and body and an HTTP to execute that request
headers
<not_specific>
uri_string
<not_specific>
body
<not_specific>
cert
<not_specific>
key
<not_specific>