るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.027秒)

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

クラス

検索結果

Net::HTTP#post(path, data, header = nil, dest = nil) -> Net::HTTPResponse (51.0)

サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。

...ist[例][ruby]{
# net/http version 1.1
response, body = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')

# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')

# using block
File
.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject...

Net::HTTP#post(path, data, header = nil, dest = nil) {|body_segment| .... } -> Net::HTTPResponse (51.0)

サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。

...ist[例][ruby]{
# net/http version 1.1
response, body = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')

# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')

# using block
File
.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject...