change main
This commit is contained in:
parent
3f39c9d9bd
commit
224a4f9456
3
main.cr
3
main.cr
@ -4,4 +4,5 @@ agent = Mechanize.new
|
|||||||
agent.request_headers = HTTP::Headers{"Foo" => "Bar"}
|
agent.request_headers = HTTP::Headers{"Foo" => "Bar"}
|
||||||
params = {"hoge" => "hoge"}
|
params = {"hoge" => "hoge"}
|
||||||
page = agent.get("http://example.com/", params: params)
|
page = agent.get("http://example.com/", params: params)
|
||||||
puts page
|
puts page.code
|
||||||
|
puts page.body
|
||||||
|
Loading…
Reference in New Issue
Block a user