Skip to content

Commit 9500485

Browse files
authored
back to example.com
This output is a lot more compact
1 parent 3e8ed7a commit 9500485

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/http.roc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ main! = |_args|
4848
{
4949
method: GET,
5050
headers: [],
51-
uri: "https://github.com",
51+
uri: "https://www.example.com",
5252
body: [],
5353
timeout_ms: TimeoutMilliseconds(5000),
5454
},
@@ -63,7 +63,7 @@ main! = |_args|
6363
6464
response_2 =
6565
Http.default_request
66-
|> &uri "https://github.com"
66+
|> &uri "https://www.example.com"
6767
|> &headers [Http.header(("Accept", "text/html"))]
6868
|> Http.send!()?
6969

0 commit comments

Comments
 (0)