Toastie e264ebce5a removed obsolet blank lines | 4 years ago | |
---|---|---|
data | 4 years ago | |
.gitignore | 4 years ago | |
Dockerfile | 4 years ago | |
README.md | 4 years ago | |
docker-compose.yml | 4 years ago |
Simple Web API to send xmpp messages via http post requests.
config.ini
file.cd data
cp config.ini.example config.ini
./getToken.py >> config.ini
vim config.ini
docker-compose up -d
curl -i http://localhost:8010 \
-H "Authorization: Bearer 2vAWHgdTn74Rb2D4uU5IvyhSKF4xDYGVnu6D8syGU7Wixx4dXfmvxubCMwOxNKWQ" \
-X POST -H "Content-Type: text/plain" \
--data "put your message here"