How to change the API name from
http://localhost/webhooks/rest/weebhook
to
http://localhost/api
How the change the response format from
{ "sender": "test_user", "message": "halo" }
to
{ title: 'My awesome link', link: 'https://github.com/Wolox/react-chat-widget', target: '_blank' }
i’m really lost in this topic, but the frontend need that format API for the widget. If anyone can help it will be tremendously helpful
earroyoh
(Enrique Arroyo-Hermosilla)
June 6, 2021, 4:00pm
2
I think you can do it through a custom connector and link the class in credentials.yml file. When you execute “rasa run --enable-api” it will load the connector.
Please enlight me, like creating custom instance in credentials.yml
#mattermost:
url: “https:///api/v4”
token: “”
webhook_url: “”
like edit that script?
earroyoh
(Enrique Arroyo-Hermosilla)
June 6, 2021, 4:27pm
4
You can check the documentation at Custom Connectors .
I myself have a couple of custom connectors in my Dadbot .