- Name
- http-client - HTTP request tool
- Synopsis
http-client [OPTIONS] url
- Description
The http-client utility sends a HTTP request to an HTTP server or proxy.
The http-client tool will print out status line and interesting headers from the response. The message body is also printed.
- Options
The http-client utility accepts following command line options:
- --method=name
- Specify the request method name (GET by default).
- --proxy=url
- Specifies the proxy via which the request will be sent.
- --ua=value
- Specifies the User-Agent header field.
- --mf=n
- Specify the initial Max-Forwards count.
- --pipe
- Use pipelining (do not shutdown client connection after request).
- --extra
- Insert standard input to the requests.
- Examples
You want to query supported features of http://connecting.nokia.com:
$ http-client --method OPTIONS http:
- Environment
NTH_DEBUG
, TPORT_DEBUG
, TPORT_LOG
.
- Author:
- Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>