Added OSX for pthreads api, added curl example script

This commit is contained in:
James Booth
2015-07-14 23:32:59 +01:00
parent 68df7edd4e
commit 8585c1af63
4 changed files with 41 additions and 0 deletions

6
stabber-curl.sh Executable file
View File

@@ -0,0 +1,6 @@
curl --data '<iq type="result" to="stabber@localhost/profanity"><query xmlns="jabber:iq:roster" ver="362"><item jid="buddy1@localhost" subscription="both" name="Buddy1"/><item jid="buddy2@localhost" subscription="both" name="Buddy2"/></query></iq>' http://localhost:5231/for?query=jabber:iq:roster
echo "Press enter to send message..."
read
curl --data '<message id="mesg10" to="stabber@localhost/profanity" from="buddy1@localhost/laptop" type="chat"><body>Here is a message sent from stabber, using the Python bindings</body></message>' http://localhost:5231/send