curl --user user:pass -k -v -H "Content-Type: application/json; charset=utf-8" -X POST -d '{"text":"message"}' https://somewhere.com/rest/test
curl --user user:pass -k -v -H "Content-Type: application/json; charset=utf-8" -X POST -d '{"text":"message"}' https://somewhere.com/rest/test