Rust version of wecomchan.
Just call the API, and the message will be sent to your WeChat & WeCom.
docker run -d -p {}:3000 --name wecom-proxy \
-e AUTH_KEY="{}" \
-e WECOM_CID="{}" \
-e WECOM_AID="{}" \
-e WECOM_SECRET="{}" \
entropy273/wecom-proxy
AUTH_KEY
: auth key. Set by yourself to protect the proxy.WECOM_CID
: corpid of WeCom.WECOM_AID
: appid of WeCom Application.WECOM_SECRET
: secret of WeCom Application.
For details on obtaining these parameters, refer to wecomchan.
auth_key
: auth keymsg
: message to send
curl -X GET http://localhost:3000/wecom?auth_key=auth_key&msg=message
Content-Type: application/json
auth_key
: auth keymsg
: message to send
curl -X POST -H "Content-Type: application/json" -d '{"auth_key": "auth_key", "msg": "message"}' http://localhost:3000/wecom