Revision [650]

This is an old revision of CommandHttp made by DavidLee on 2009-07-28 08:01:50.

 

Command http


Name

http http client

Synopsis

http [options]


Options

-get url performs an HTTP GET
-put url performs an HTTP PUT
-post url performs an HTTP POST
-delete url performs an HTTP DELETE
-trace url performs an HTTP TRACE
-head url performs an HTTP HEAD
-options url perfomms an HTTP OPTIONS


For -put and -post the standard input is read and used as the input to the HTTP command.
For all commands the output of the HTTP command is sent to standard output.


Example

http -get http://www.xmlsh.org

Return Value

Returns 0 if the is return code of the request is 200, otherwise returns the return code

CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki