# reopenWidget with AJAX call

**URL:** <https://meta.discourse.org/t/reopenwidget-with-ajax-call/246450>\
**Category:** Development\
**Created:** [November 22, 2022, 5:52pm UTC](https://meta.discourse.org/t/reopenwidget-with-ajax-call/246450 "2022-11-22T17:52:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [November 22, 2022, 6:07pm UTC](https://meta.discourse.org/t/reopenwidget-with-ajax-call/246450/2 "2022-11-22T18:07:09Z")

</div>

Depends what you are trying to do I suppose but why not use the official Discord Ruby API to get the data into the Discourse db, serialize it to the client and then use it in the widget?

---

_[View the full topic](https://meta.discourse.org/t/reopenwidget-with-ajax-call/246450)._
