delete an unnecessary file

master
Kanezoh 2022-01-15 12:32:21 +09:00
parent f44ed2eea6
commit cb3b03873a
1 changed files with 0 additions and 13 deletions

13
main.cr
View File

@ -1,13 +0,0 @@
require "./src/mechanize.cr"
agent = Mechanize.new
agent.request_headers = HTTP::Headers{"Foo" => "Bar"}
params = {"hoge" => "hoge"}
page = agent.get("http://example.com/", params: params)
# form = page.forms[0]
# query = {"foo" => "foo_value", "bar" => "bar_value"}
# page = agent.post("http://example.com/", query: query)
# puts page.code
# puts page.body
# puts page.css("h1").first.inner_text
# puts page.title