# Plugin that will call predefined web api uri from post

**URL:** <https://meta.discourse.org/t/plugin-that-will-call-predefined-web-api-uri-from-post/16035>\
**Category:** Marketplace\
**Created:** [Mai 28, 2014, 2:24 UTC](https://meta.discourse.org/t/plugin-that-will-call-predefined-web-api-uri-from-post/16035 "2014-05-28T14:24:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![adopilot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adopilot/32/105040_2.png) [@adopilot](https://meta.discourse.org/u/adopilot)\
**Post date:** [Mai 28, 2014, 2:24 UTC](https://meta.discourse.org/t/plugin-that-will-call-predefined-web-api-uri-from-post/16035/1 "2014-05-28T14:24:37Z")

</div>

We are using discourse as tool for doing business.  
As discourse getting more into our business processes that is coming need for interacting with topics and others system that we have.  
I have idea to make plugin which will allow user to to call predefined URI from topic to 3th partity api with params of post.

At Admin site I’ll have need to predefine action which could be call.

 ![](https://global.discourse-cdn.com/meta/original/3X/5/8/583530b3c3b9459495ec9ff5c1f48a73b6d0efbc.png) 

So we can on post have menu something like this

 ![](https://global.discourse-cdn.com/meta/original/3X/b/5/b55bd7203d0284b62a758b74b559742491a18367.png)

At call all I need is to get topic id and post id so my server cloud read data . (if we could have posted data it will be nice .)

After call web-api we should return message to user which will provide web api as response.

Extending discourse to business needs obviously leads to story said a million times.

 ![](https://global.discourse-cdn.com/meta/original/3X/b/3/b38b4028208c38da04333b4e537cc66b234da4b6.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/plugin-that-will-call-predefined-web-api-uri-from-post/16035)._
