# 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:** 3

<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, 11:23am UTC](https://meta.discourse.org/t/make-an-external-http-request-from-discourse/126054/3 "2019-08-17T11:23:29Z")

</div>

I think what you’re trying to do is closer to the concept of webhooks. You need to write some webhooks which hit the given urls when an event occurs. If thats the case, you can have a look at this.

> [@Add new webhooks and customize webhook payload](https://meta.discourse.org/t/how-to-add-new-webhooks-and-customize-webhook-payload/59609):
>
> Ever wonder how to add new webhook types? Or how to reduce the payload? Here is the tutorial for the plugin authors. It demos how to add the session and user notification event types as well as customization to the payload. You can also check [the plugin on GitHub](https://github.com/fantasticfears/discourse-webhooks-example) while reading. If you’d like to have a new webhook type supported by the team, bring up a feature request instead. Before started, make sure you already understand [webhook guide](https://meta.discourse.org/t/setting-up-webhooks/49045). New webhook event type A new webhook event type is def…

---

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