Skip to content

Commit 4e3b6f4

Browse files
committed
1 parent 6053857 commit 4e3b6f4

File tree

2 files changed

+205
-204
lines changed

2 files changed

+205
-204
lines changed

Examples/Easy_Http/Simple/Simple.dpr

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ var
2424
begin
2525
try
2626
curl := CurlGet;
27-
curl.SetUrl(Url);
28-
curl.SetFollowLocation(true);
29-
30-
// Perform the request
31-
curl.Perform;
27+
curl.SetUrl(Url)
28+
.SetFollowLocation(true)
29+
.Perform;
3230

3331
// Check for some info
3432
code := curl.GetResponseCode;

0 commit comments

Comments
 (0)