# Rasa X HTTP POST request receives complete web page instead of JSON object

**URL:** <https://forum.rasa.com/t/rasa-x-http-post-request-receives-complete-web-page-instead-of-json-object/45938>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [July 20, 2021, 11:19am UTC](https://forum.rasa.com/t/rasa-x-http-post-request-receives-complete-web-page-instead-of-json-object/45938 "2021-07-20T11:19:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![shaida](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@shaida](https://forum.rasa.com/u/shaida)\
**Post date:** [August 2, 2021, 11:25am UTC](https://forum.rasa.com/t/rasa-x-http-post-request-receives-complete-web-page-instead-of-json-object/45938/2 "2021-08-02T11:25:30Z")

</div>

I was using the wrong port number in the rest endpoint while requesting POST. Instead of [http://localhost](http://localhost): **5005** /webhooks/rest/webhook, I was using port **5002** as It was used by Rasa X. I still don’t figure out why the port should be **5005** and not **5002**. Port **5005** is used by a process named python.

---

_[View the full topic](https://forum.rasa.com/t/rasa-x-http-post-request-receives-complete-web-page-instead-of-json-object/45938)._
