that’s a duplicate of Tracking User_id from GET request
To create the rest channel start core with
python -m rasa_core.run -d models/dialogue -u models/nlu/current --credentials credentials.yml
The important part hereby is --credentials credentials.yml
. credentials.yml
should have this content for REST
rest:
# no config needed
You can the send message to the REST channel by doing a POST request to /webhooks/rest/webhook
with the content (e.g. localhost:5005/webhooks/rest/webhook)
{
"sender": "<your-sender-id>",
"message": "<your message>"
}