Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages are coming in as raw JSON #100

Open
lgwapnitsky opened this issue Dec 23, 2021 · 0 comments
Open

messages are coming in as raw JSON #100

lgwapnitsky opened this issue Dec 23, 2021 · 0 comments

Comments

@lgwapnitsky
Copy link

root@matrix:~# curl -X POST -H "Content-Type: application/json" -d '{
  "text": "Hello world!",
  "format": "plain",
  "displayName": "My Cool Webhook",
  "avatarUrl": "http:https://i.imgur.com/IDOBtEJ.png"
}'  http:https://matrix.wapnet.local.lan:9000/api/v1/matrix/hook/qIahB0Cv68TbpC5nB0TFHZVfedguJODbizbdLSUXq5DsG9MDJviNKyD5vRFU8EgI
{"success":true,"queued":true}root@matrix:~# curl -X POST -H "Content-Type: application/json" -d '{
  "text": "Hello world!",
  "format": "plain",
  "displayName": "My Cool Webhook",
  "avatarUrl": "http:https://i.imgur.com/IDOBtEJ.png"
}'  http:https://matrix.wapnet.local.lan:9000/api/v1/matrix/hook/qIahB0Cv68TbpC5nB0TFHZVfedguJODbizbdLSUXq5DsG9MDJviNKyD5vRFU8EgI

result:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant