Update README.md

This commit is contained in:
James Booth
2015-06-08 22:32:39 +01:00
parent abc49023e2
commit 6ae630ffa9

View File

@@ -135,8 +135,15 @@ Stabber logs to:
# HTTP API # HTTP API
To start stabber in standalone mode: To start stabber in standalone mode:
``` ```
stabber -p 5230 -h 5231 stabber -p <port> -h <httpport> -l <loglevel>
``` ```
`<port>` - The port on which to run the stubbed XMPP server.
`<httpport>` - The port on which to run the HTTP API, optional.
`<loglevel>` - The log level for Stabber, one of `DEBUG`, `INFO`, `WARN`, `ERROR`. Optional with a default of `INFO`.
The second argument is the HTTP port on which Stabber will listen. The second argument is the HTTP port on which Stabber will listen.
### Sending stanzas ### Sending stanzas