tiledesk-server
tiledesk-server copied to clipboard
Subscriptions fails
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:
Cannot POST /5edfb2ccae383c0019b4927b/subscriptions
Please, someone can help me? Thanks
What is the version of your tiledesk-server? What is the http status error code? 404 or 500 ?
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