Method: HTTPClient#post

Defined in:
lib/httpclient.rb

#post(uri, *args, &block) ⇒ Object

Sends POST request to the specified URL. See request for arguments.



664
665
666
# File 'lib/httpclient.rb', line 664

def post(uri, *args, &block)
  request(:post, uri, argument_to_hash(args, :body, :header, :follow_redirect), &block)
end