success response:
[
{
“recipient_id”:“me”,
“text”:“Hello!how can i help you”
}]
for Webhook api there is no failure response mentioned. So, i just want to know if there is any failure response for webhook api ,that i need to handle it
please tell me how can i know the failure response,i checked in rasa api doc,i did not get any information
what will be the failure response?
Hi @mohankumar, there could be a variety of failure responses just as any HTTP request, e.g. if your server is up you might get a 502 service unavailable or if you start it with an auth token, if you don’t provide the token you’d probably get a 403 unauthorized. I’d recommend in your app to handle the general case in which you don’t receive a 200 response.