http.1 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .TH HTTP 1 "V1.2 - 24 Apr 1996" "dl's free utilities"
  2. .SH NAME
  3. http \- perform HTTP queries from command line
  4. .SH SYNOPSIS
  5. .B http
  6. <\fIget\fR|\fIhead\fR|\fIput\fR|\fIdelete\fR> <\fBurl\fR>
  7. .SH DESCRIPTION
  8. .BR http
  9. is a tool to perform HTTP queries from the command line.
  10. Informations and diagnostic goes to stderr. Data is taken from stdin
  11. (for \fIput\fR) or output to stdout (for \fIget\fR). If the
  12. environement variable \fBhttp_proxy\fR exists it will be used as a
  13. proxy url.
  14. .PP
  15. The following commands are supported
  16. .TP
  17. .I get
  18. to send an http GET query. It fetches the given \fBurl\fR to
  19. standard output.
  20. .TP
  21. .I head
  22. gets the header only of the \fBurl\fR.
  23. .TP
  24. .I put
  25. to send an http PUT query (not recognized by all servers). It reads
  26. data from standard input and then send them to the server.
  27. .TP
  28. .I delete
  29. to send an http DELETE query (not recognized by all servers).
  30. .SH LIMITATIONS
  31. The url is limited to 256 characters.
  32. .SH EXAMPLE
  33. http get http://www.demailly.com/~dl/wwwtools.html > wwwtools.html
  34. .SH AUTHOR
  35. Laurent Demailly <L@Demailly.com>. Free software.
  36. (See LICENSE file)
  37. .SH SEE ALSO
  38. http_lib(3)