HTTPCmd Main Topic
HTTPCmd Syntax
httpcmd server input.file [-k] [-u:username:password] [-a:AuthenticationScheme] [-e] [-t] [-h]
Where:
- server
- is the server to be tested.
- input.file
- contains a full HTTP request.
- -k
- sets the Send Pragma to: Keep-connection, input.file contains multiple requests separated by $END on a blank line.
- -u:username:password
- uses the specified user name and password for authentication purposes.
- -a:AuthenticationScheme
- can be "Basic", "NTLM", or "MS-KERBEROS". Only one authentication scheme is supported at a time.
- -e
- echo sends requests to STDOUT. Shows what is being requested.
- -t
- do HEX-HTTP for filter testing.
- -h
- don't echo HTTP headers.
The server's reply is sent to STDOUT, and is displayed in the command
window.