-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathhttp.html
61 lines (47 loc) · 1.32 KB
/
http.html
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
53
54
55
56
57
58
59
60
61
<HTML>
<HEAD>
<TITLE>http(1) manual page</TITLE>
</HEAD>
<BODY>
<H2>NAME</H2>
http - perform HTTP queries from command line
<P>
<H2>SYNOPSIS</H2>
<B>http</B> <<I>get</I>|<I>head</I>|<I>put</I>|<I>delete</I>> <<B>url</B>>
<P>
<H2>DESCRIPTION</H2>
<B>http</B> is a tool to perform HTTP queries from the command line.
Informations and diagnostic goes to stderr. Data is taken from stdin
(for <I>put</I>) or output to stdout (for <I>get</I>).
If the environement variable <b>http_proxy</b> exists it will be used as a
proxy url.
<P>
The following commands are supported
<P>
<I>get</I> to send an http GET query. It fetches the given <B>url</B> to standard
output.
<P>
<I>head</I> gets the header only of the <B>url</B>.
<P>
<I>put</I> to send an http PUT query (not recognized by all servers). It
reads data from standard input and then send them to the server.
<P>
<I>delete</I><BR>
to send an http DELETE query (not recognized by all servers).
<P>
<H2>LIMITATIONS</H2>
The url is limited to 256 characters.
<P>
<H2>EXAMPLE</H2>
http get http://www.demailly.com/~dl/wwwtools.html > wwwtools.html
<P>
<H2>AUTHOR</H2>
<a href="http://www.demailly.com/~dl/">Laurent Demailly</a>
<[email protected]>. Free software.
<br>
(See LICENSE file)
<P>
<H2>SEE ALSO</H2>
<A HREF="http_lib.html">http_lib(3)</A>
<P>
</BODY></HTML>