How to send session id with rest endpoint

I’m trying to use the curl to test the chatbot. However, although the conversation follow the story using a socketio UI, it doesn’t work using the rest service. I think it is because I don’t send the created session id, but I’m not sure if it is actually the problem, and, if it is, how to get and send the session id.

Thanks, José M.

1 Like

OK, I’ve discovered that my problem is because I used a wrong “sender”. I’ve changed the message to send by:

  "sender": "User",
  "message": "The message to send"

Now, the stories is followed correctly.

1 Like