# How to call api url declared in server of plugin from component in plugin in kibana 7.8 OSS version?

**URL:** <https://discuss.elastic.co/t/how-to-call-api-url-declared-in-server-of-plugin-from-component-in-plugin-in-kibana-7-8-oss-version/247798>\
**Category:** Kibana\
**Created:** [September 7, 2020, 5:59pm UTC](https://discuss.elastic.co/t/how-to-call-api-url-declared-in-server-of-plugin-from-component-in-plugin-in-kibana-7-8-oss-version/247798 "2020-09-07T17:59:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayanth\_Mogadampalli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayanth_mogadampalli/32/74602_2.png) [@Jayanth\_Mogadampalli](https://discuss.elastic.co/u/Jayanth_Mogadampalli)\
**Post date:** [September 7, 2020, 5:59pm UTC](https://discuss.elastic.co/t/how-to-call-api-url-declared-in-server-of-plugin-from-component-in-plugin-in-kibana-7-8-oss-version/247798/1 "2020-09-07T17:59:27Z")

</div>

I am developing a plugin in 7.8 kibana oss version  
When I define route in routes in server folder of plugin  
then how to call from component in public in plugin?

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [September 10, 2020, 7:18pm UTC](https://discuss.elastic.co/t/how-to-call-api-url-declared-in-server-of-plugin-from-component-in-plugin-in-kibana-7-8-oss-version/247798/2 "2020-09-10T19:18:22Z")

</div>

Use `core.http.post` with the API path

---

<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:** [October 8, 2020, 7:18pm UTC](https://discuss.elastic.co/t/how-to-call-api-url-declared-in-server-of-plugin-from-component-in-plugin-in-kibana-7-8-oss-version/247798/3 "2020-10-08T19:18:32Z")

</div>

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