http.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <HTML>
  2. <HEAD>
  3. <TITLE>http(1) manual page</TITLE>
  4. </HEAD>
  5. <BODY>
  6. <H2>NAME</H2>
  7. http - perform HTTP queries from command line
  8. <P>
  9. <H2>SYNOPSIS</H2>
  10. <B>http</B> &lt;<I>get</I>|<I>head</I>|<I>put</I>|<I>delete</I>&gt; &lt;<B>url</B>&gt;
  11. <P>
  12. <H2>DESCRIPTION</H2>
  13. <B>http</B> is a tool to perform HTTP queries from the command line.
  14. Informations and diagnostic goes to stderr. Data is taken from stdin
  15. (for <I>put</I>) or output to stdout (for <I>get</I>).
  16. If the environement variable <b>http_proxy</b> exists it will be used as a
  17. proxy url.
  18. <P>
  19. The following commands are supported
  20. <P>
  21. <I>get</I> to send an http GET query. It fetches the given <B>url</B> to standard
  22. output.
  23. <P>
  24. <I>head</I> gets the header only of the <B>url</B>.
  25. <P>
  26. <I>put</I> to send an http PUT query (not recognized by all servers). It
  27. reads data from standard input and then send them to the server.
  28. <P>
  29. <I>delete</I><BR>
  30. to send an http DELETE query (not recognized by all servers).
  31. <P>
  32. <H2>LIMITATIONS</H2>
  33. The url is limited to 256 characters.
  34. <P>
  35. <H2>EXAMPLE</H2>
  36. http get http://www.demailly.com/~dl/wwwtools.html &gt; wwwtools.html
  37. <P>
  38. <H2>AUTHOR</H2>
  39. <a href="http://www.demailly.com/~dl/">Laurent Demailly</a>
  40. &lt;L@Demailly.com&gt;. Free software.
  41. <br>
  42. (See LICENSE file)
  43. <P>
  44. <H2>SEE ALSO</H2>
  45. <A HREF="http_lib.html">http_lib(3)</A>
  46. <P>
  47. </BODY></HTML>