lib/msidp/endpoint.rb
# Post parameters to an endpoint and returns the response.
#
# @param [URI::Generic] uri the endpoint URI.
# @param [Hash] params parameters to the endpoint.
# @param [Hash] headers additional headers.
# @return [Net::HTTPResponse] the endpoint response.
Post parameters to an endpoint and returns the response.
Post parameters to an endpoint and returns the response .
def post(uri, params, headers = nil)
      req = Net::HTTP::Post.new(uri.request_uri, headers)
      req.form_data = params if params
      https_request(uri, req)
    end
def post ( uri , params , headers = nil ) req = Net :: HTTP :: Post . new ( uri . request_uri , headers ) req . form_data = params if params https_request ( uri , req ) end
Post parameters to an endpoint and returns the response.
Post parameters to an endpoint and returns the response .
the endpoint response.
the endpoint response .
Net::HTTPResponse
uri
<not_specific>
params
<not_specific>
headers
<not_specific>
<not_specific>
headers additional headers.
headers additional headers .