Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.473 kb

http post in shoes

Use the download method, which can do HTTP in the background and uses platform-specific code to work much, much faster. by _why

help with http post in shoes

#------------------
Shoes.app do
  download "http://localhost:8080", :method => "POST",
           :body => "userName=user&password=11111" do |dl|
    para dl.response.body
  end
end
Jump to Line
Something went wrong with that request. Please try again.