Hit In postman -
http://localhost:5005/webhooks/rest/webhook with a POST request.
In the body -> raw -> select JSON , then write -
{
“sender”: “rasa”,
“message”: “hello how r u”
}
with python code -
data = { “sender”: "rasa,
“message”: “Hello How r u”,
}
data = json.dumps(data)
rasa_api_endpint = “http://localhost:5005/webhooks/rest/webhook”
res = requests.post(url = rasa_api_endpint, data = data)\