# Http POST request for Rasa core server

**URL:** <https://forum.rasa.com/t/http-post-request-for-rasa-core-server/24823>\
**Category:** Rasa Open Source\
**Created:** [February 15, 2020, 2:08am UTC](https://forum.rasa.com/t/http-post-request-for-rasa-core-server/24823 "2020-02-15T02:08:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tell2jyoti](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@tell2jyoti](https://forum.rasa.com/u/tell2jyoti)\
**Post date:** [February 15, 2020, 2:08am UTC](https://forum.rasa.com/t/http-post-request-for-rasa-core-server/24823/1 "2020-02-15T02:08:57Z")

</div>

Hi, I started the rasa as server as below **rasa run -m /home/ubuntu/rasa/testsetup/models --enable-api --debug --log-file out.log**

The server too started at port 5005 and listening. Now I want to test the server by passing some sample test. **So my expectation is If I will send “Hello”, it should reply with a greeting message " “Hey! How are you?”", which is in domain.yml** Now when I am sending post request as below **curl -XPOST localhost:5005/conversations/default/messages -d '{“sender”:“user”,“text”:“Hello”}'**

I am getting reply as  
“sender\_id”:“default”,“slots”:{},“latest\_message”:{“intent”:{“name”:“greet”,“confidence”:0.9984146357},“entities”:[],“intent\_ranking”:[{“name”:“greet”,“confidence”:0.9984146357},{“name”:“affirm”,“confidence”:0.0005561218},{“name”:“mood\_great”,“confidence”:0.0003764505},{“name”:“bot\_challenge”,“confidence”:0.000362706},{“name”:“deny”,“confidence”:0.000207966},{“name”:“goodbye”,“confidence”:0.0000679059},{“name”:“mood\_unhappy”,“confidence”:0.0000142202}],“text”:“Hello”},“latest\_event\_time”:1581732456.5251104832,“followup\_action”:null,“paused”:false,“events”:[{“event”:“action”,“timestamp”:1581732066.9393928051,“name”:“action\_session\_start”,“policy”:null,“confidence”:null},{“event”:“session\_started”,“timestamp”:1581732066.9394109249},{“event”:“action”,“timestamp”:1581732066.939426899,“name”:“action\_listen”,“policy”:null,“confidence”:null},{“event”:“user”,“timestamp”:1581732066.9432301521,“text”:“Hello”,“parse\_data”:{“intent”:{“name”:“greet”,“confidence”:0.9984146357},“entities”:[],“intent\_ranking”:[{“name”:“greet”,“confidence”:0.9984146357},{“name”:“affirm”,“confidence”:0.0005561218},{“name”:“mood\_great”,“confidence”:0.0003764505},{“name”:“bot\_challenge”,“confidence”:0.000362706},{“name”:“deny”,“confidence”:0.000207966},{“name”:“goodbye”,“confidence”:0.0000679059},{“name”:“mood\_unhappy”,“confidence”:0.0000142202}],“text”:“Hello”},“input\_channel”:null,“message\_id”:“87b1d3a7653b445a8c0b3f5396232318”,“metadata”:{}},{“event”:“user”,“timestamp”:1581732456.5251104832,“text”:“Hello”,“parse\_data”:{“intent”:{“name”:“greet”,“confidence”:0.9984146357},“entities”:[],“intent\_ranking”:[{“name”:“greet”,“confidence”:0.9984146357},{“name”:“affirm”,“confidence”:0.0005561218},{“name”:“mood\_great”,“confidence”:0.0003764505},{“name”:“bot\_challenge”,“confidence”:0.000362706},{“name”:“deny”,“confidence”:0.000207966},{“name”:“goodbye”,“confidence”:0.0000679059},{“name”:“mood\_unhappy”,“confidence”:0.0000142202}],“text”:“Hello”},“input\_channel”:null,“message\_id”:“02842284d0494d1b93ac83a23cb3d21c”,“metadata”:{}}],“latest\_input\_channel”:null,“active\_form”:{},“latest\_action\_name”:“action\_listen”} am I calling correct endpoint , please suggest

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [February 15, 2020, 3:57am UTC](https://forum.rasa.com/t/http-post-request-for-rasa-core-server/24823/2 "2020-02-15T03:57:07Z")

</div>

Hey @tell2jyoti, you need use the below endpoint to get the bot response:.

```auto
 http://localhost:5005/webhooks/rest/webhook 
- d {
  "sender": "Rasa",
  "message": "Hi there!"
}

```

> **[Your Own Website](https://rasa.com/docs/rasa/connectors/your-own-website/)**
>
> Deploy and Run a Rasa Chat Bot on a Website
