Rasa Core version 0.9.3:
Python version 3.6.5:
windows:
Starting a Conversation with Http Server:
Content of domain file (if used & relevant):''
Hello,
I have created a bot using rasa and I want to run it on HTTP Server. The command which I have used to start the sever is: python -m rasa_core.server -d models/dialogue -u models/nlu/default/creditnlumodel -o out.log and the code to start the conversation is: curl -XPOST localhost:5005/conversations/default/parse -d '{"query":"okay"}'. I am getting a error as shown below:

I couldn't understand the detailed functioning of HTTP server from the docs. Can anyone help me with this? Thanks! :)
Have you followed all the instructions given in the official docs? Are you sure the Rasa server is up and running at the given address and port? Unfortunately I can't currently pin-point the issue without being able to reproduce it, so I can only offer some generic guidelines.
it could be that it's a windows issue with single quotes, try "{/"query/":/"okay/"}" instead
@auzair92
I have tried with GET request and the server is responding as shown in image below, but in case of POST command the server is not able to understand the command. The log file is without any errors.

If I include python -mjson.tool at the end of the command, the result is different and it seems to understand but it is not responding to it. May I know what does this command do here?
If GET is working and POST is not, then most probably it's an issue with the request itself. @amn41's suggestion above looks appropriate here; you should try that.
I believe the -mjson.tool is simply used to pretty-print the JSON response so that you can easily validate it from the terminal. Whether or not the server responds with an appropriate response is not dependent on this.
@auzair92 @amn41 I did try using "{/"query/":/"okay/"}" which can be seen in the above image, but it isn't working. Can you please look into it once?
Try this command (using _backslash_ to escape the quotes):
curl -XPOST localhost:5005/conversations/default/parse -d "{\"query\":\"okay\"}"
@auzair92 Great! It is working..thanks a lot! How do we get to know these kind of things?
Cool. Thanks again. I am closing the issue.
Glad to know that! Hit-and-trial, for the most part, I guess. Like, we could see that GET is working but not POST, so it must be something with the request that's gone wrong. And then further narrowing it down from there. :)
Most helpful comment
Try this command (using _backslash_ to escape the quotes):
curl -XPOST localhost:5005/conversations/default/parse -d "{\"query\":\"okay\"}"