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

Subscriptions fails #33

Open
alangarbo opened this issue Jun 18, 2020 · 2 comments
Open

Subscriptions fails #33

alangarbo opened this issue Jun 18, 2020 · 2 comments

Comments

@alangarbo
Copy link

Hi,
I have a Tiledesk instance installed in my server.
I 'am trying to use WebHooks suscription But I have an error

I try this commnad

curl -v -X POST -H 'Content-Type:application/json'
-u myUser:myPass
-d '{"event":"message.create", "target":"https://XXXXX.requestcatcher.com"}'
https://myurl/5edfb2ccae383c0019b4927b/subscriptions

The error was:

<title>Error</title>
Cannot POST /5edfb2ccae383c0019b4927b/subscriptions

Please, someone can help me?
Thanks

@andrealeo83
Copy link
Contributor

What is the version of your tiledesk-server? What is the http status error code? 404 or 500 ?

@alangarbo
Copy link
Author

This is the response

HTTP/1.1 404 Not Found
X-Powered-By: Express
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization, X-XSRF-Token
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Content-Security-Policy: default-src 'none'
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
Content-Length: 176
Date: Fri, 19 Jun 2020 21:33:55 GMT

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

2 participants