From 224a4f9456412266707c38ea9e672110b9d5921b Mon Sep 17 00:00:00 2001 From: Kanezoh Date: Mon, 3 May 2021 13:29:06 +0900 Subject: [PATCH] change main --- main.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cr b/main.cr index cce5aa6..fbfa943 100644 --- a/main.cr +++ b/main.cr @@ -4,4 +4,5 @@ agent = Mechanize.new agent.request_headers = HTTP::Headers{"Foo" => "Bar"} params = {"hoge" => "hoge"} page = agent.get("http://example.com/", params: params) -puts page +puts page.code +puts page.body