# Make an external http request from discourse

**URL:** https://meta.discourse.org/t/make-an-external-http-request-from-discourse/126054
**Category:** Development
**Created:** [August 17, 2019, 10:56am UTC](https://meta.discourse.org/t/make-an-external-http-request-from-discourse/126054 "2019-08-17T10:56:20Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [August 17, 2019, 12:49pm UTC](https://meta.discourse.org/t/make-an-external-http-request-from-discourse/126054/6 "2019-08-17T12:49:21Z")

</div>

I think some clarification is required in terms of what role Discourse would play here.  
How does your use case relate to discussion/conversation. What would be done on discourse and what would be done on your server.

> [@Thecave3](#):
>
> The logic of the marketplace should remain on the server but the front end should be discourse and so it should be updated according to the data on server.

This is a broad statement. Discourse in itself is a whole system. What data would you show on Discourse which comes from or is synced with your other server.

From the information you’ve shared, it could be done via a plugin for sure. There are integrations for WordPress, GitHub, etc which might be doing a similar thing what you’re trying to do. But that’s me trying to read between the lines.

If you want to understand how to build plugins, here’s a great collection of links by @merefield

> [@How can I make my own Discourse plugins?](https://meta.discourse.org/t/how-can-i-make-my-own-discourse-plugins/90032/2):
>
> I’ve only just started but here’s my ‘starter for 10’ to get you going: Read: [these](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-1/30515)[this](https://meta.discourse.org/t/how-to-start-building-stuff-for-discourse-if-youre-newbie-like-myself/45954) Try and read the code on the simplest, [but popular plugins](https://meta.discourse.org/c/plugin/l/top/yearly) and see if you can understand what they are doing (this is not always easy, especially with the complexity of dealing with multiple files and the sometimes brutal functional brevity of javasctipt, but persevere) You need to learn: Lots of Javascript (look no further than @mpj’s [Fun Fun Function excellent & fun (!) videos](https://www.youtube.com/channel/UCO1cgjhGzsSYb1rsB4bFe4Q) (thanks man!)) Lots of …

This is also a good one.  
[https://meta.discourse.org/t/creating-routes-in-discourse-and-showing-data/48827/19?u=fzngagan](https://meta.discourse.org/t/creating-routes-in-discourse-and-showing-data/48827/19)

---

_[View the full topic](https://meta.discourse.org/t/make-an-external-http-request-from-discourse/126054)._
