Your IP : 3.145.105.199


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Net/HTTP/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Net/HTTP/post_form-c.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Posts HTML form data to the <tt>URL</tt>. Form data must be represented as a Hash of String to String, e.g:"
- !ruby/struct:SM::Flow::VERB 
  body: "  { &quot;cmd&quot; =&gt; &quot;search&quot;, &quot;q&quot; =&gt; &quot;ruby&quot;, &quot;max&quot; =&gt; &quot;50&quot; }\n"
- !ruby/struct:SM::Flow::P 
  body: This method also does Basic Authentication iff <tt>URL</tt>.user exists.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'net/http'\n  require 'uri'\n\n  HTTP.post_form URI.parse('http://www.example.com/search.cgi'),\n                 { &quot;q&quot; =&gt; &quot;ruby&quot;, &quot;max&quot; =&gt; &quot;50&quot; }\n"
full_name: Net::HTTP::post_form
is_singleton: true
name: post_form
params: (url, params)
visibility: public

?>