summaryrefslogtreecommitdiff
path: root/http@.1
blob: 4861b34f9b1901df4dfdad4a6b7de4b3f6633441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.TH http@ 1
.SH NAME
http@ \- get a web page from a host through HTTP
.SH SYNTAX
.B http@
[
.I host
[
.I page
[
.I port
]
]
]
.SH DESCRIPTION
.B http@
connects to
.I port
on
.IR host ,
sends
.B GET /\fIpage
(with an extra CR)
to
.IR host ,
and prints any data it receives,
removing CR from the end of each line.

If
.I port
is not supplied,
.B http@
uses port 80 (HTTP).

If
.I page
is not supplied,
.B http@
sends
.B GET /
to
.IR host .

If
.I host
is not supplied,
.B http@
connects to the local host.
.SH "SEE ALSO"
addcr(1),
delcr(1),
tcpclient(1)