def post(nsc, uri, payload = nil, content_type = CONTENT_TYPE::XML, timeout = nil)
      post = Net::HTTP::Post.new(uri)
      post.set_content_type(content_type)
      post.body = payload.to_s if payload
      request(nsc, post, timeout)
    end
def post(nsc, uri, payload = nil, content_type = CONTENT_TYPE::XML, timeout = nil)
      post = Net::HTTP::Post.new(uri)
      post.set_content_type(content_type)
      post.body = payload.to_s if payload
      request(nsc, post, timeout)
    end
POST call to a Nexpose controller.

 @param [Connection] nsc API connection to a Nexpose console.
 @param [String] uri Controller address relative to https://host:port
 @param [String|REXML::Document] payload XML document required by the call.
 @param [String] content_type Content type to use when issuing the POST.
 @param [Fixnum] timeout Set an explicit timeout for the HTTP request.
 @return [String|REXML::Document|Hash] The response from the call.