

#POSTMAN WEBSOCKET HOW TO#
How to save a WebSocket request in a collection. And learn about it in this blog: Introducing Postman’s WebSocket Echo Service. Finally, name your request and click Save. Fork the Guide to Postman WebSockets collection to learn more about how to test WebSocket APIs in Postman. Click Create collection and name your new WebSocket collection. You will notice that it asks to create a new collection for saving WebSocket requests.

If I then chat with the bot, everything works fine! I now use Postman in order to try and make a POST-request without actually chatting to the bot (which is my goal)! As soon as I do this POST request to /socket.io/, I get the error 400 with the above mentioned message. The WebSocket is an endpoint in the same way that a phone or SIP address is. This server accepts binary audio stream and response with speech to text in a json structure. I then open my index.html, which opens an empty page with the chat widget. Hi there, I am able to connect to my WebSocket server using postman new WebSocket beta feature. The scenario right now is as follows: I use “ngrok http 5005”, “rasa run actions” and “rasa run -enable-api -cors “*””. I am using ngrok because you said I should try it. But this should be okay, I don’t see any issue with the action server! However, this is also the case for when the call works (using the widget). When I make the call, nothing happens at the action server terminal. In my active environment, I have the following versions: The client is using an unsupported version of the Socket.IO or Engine.IO protocols (further occurrences of this error will be logged with level INFO)ĭo you know where the issue is? All I want is to basically trigger an intent with entities with a POST in order to have to bot display the response in the chat widget again. What happens is I get the following response:

The message should look something like /greet I want to externally send a message to the bot (not via the actual chat widget).

I get my assistant to work on a dummy index.html where I can chat with it, everything works fine! Now to my question: In order to do so, I have configured the credentials.yml as follows: I make use of webchat ( ) to integrate the chatbot in a website. I am currently developing a chatbot using Rasa Open Source.
