Update README.md
This commit is contained in:
@@ -125,7 +125,7 @@ The second argument is the HTTP port on which Stabber will listen.
|
||||
|
||||
To send a message to a client currently connected to Stabber on port 5230, send a POST request to `http://localhost:5231/send` with the body containing the stanza to send, e.g.:
|
||||
```
|
||||
curl --data '<message id="prof_msg_12" to="stabber@localhost/profanity" from="buddy1@localhost/laptop" type="chat"><body>Here's a message sent from stabber, using the HTTP api</body></message>' http://localhost:5231/send
|
||||
curl --data '<message id="prof_msg_12" to="stabber@localhost/profanity" from="buddy1@localhost/laptop" type="chat"><body>Here is a message sent from stabber, using the HTTP api</body></message>' http://localhost:5231/send
|
||||
```
|
||||
|
||||
# Examples
|
||||
|
||||
Reference in New Issue
Block a user