# Is it required to always pass http request from public to server and then from server to actual backend api?

**URL:** <https://discuss.elastic.co/t/is-it-required-to-always-pass-http-request-from-public-to-server-and-then-from-server-to-actual-backend-api/327826>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [March 16, 2023, 8:31am UTC](https://discuss.elastic.co/t/is-it-required-to-always-pass-http-request-from-public-to-server-and-then-from-server-to-actual-backend-api/327826 "2023-03-16T08:31:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sheereen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sheereen/32/122005_2.png) [@Sheereen](https://discuss.elastic.co/u/Sheereen)\
**Post date:** [March 16, 2023, 8:31am UTC](https://discuss.elastic.co/t/is-it-required-to-always-pass-http-request-from-public-to-server-and-then-from-server-to-actual-backend-api/327826/1 "2023-03-16T08:31:05Z")

</div>

Hi,

I am developing a custom external plugin in React.

Is it necessary to always call our backend service apis from plugin-server, and then call the plugin-server path from plugin-public?

Do I always have to map response from api to Kibana response?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 13, 2023, 8:31am UTC](https://discuss.elastic.co/t/is-it-required-to-always-pass-http-request-from-public-to-server-and-then-from-server-to-actual-backend-api/327826/2 "2023-04-13T08:31:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
