# 외부 API 호출에 테마 컴포넌트와 플러그인 중 어떤 것이 더 나은가요?

**URL:** https://meta.discourse.org/t/is-a-theme-component-or-plugin-best-for-external-api-calls/364145
**Category:** Development
**Created:** [4월 30, 2025, 12:38오후 UTC](https://meta.discourse.org/t/is-a-theme-component-or-plugin-best-for-external-api-calls/364145 "2025-04-30T12:38:28Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![noahl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/noahl/32/552343_2.png) [@noahl](https://meta.discourse.org/u/noahl)
#### Post date: [4월 30, 2025, 1:04오후 UTC](https://meta.discourse.org/t/is-a-theme-component-or-plugin-best-for-external-api-calls/364145/5 "2025-04-30T13:04:43Z")

</div>

놀랍네요!

여기서 소리 내어 생각해보자면:

- 사용자 자신(그리고 관리자 등)에게만 표시되는 사용자 필드
- “사용자가 업데이트됨” 웹훅에는 ID가 포함되어야 함
- 인증 API를 확인한 후 그룹에 추가하기 위한 Discourse API를 호출할 수 있는 "중간 서비스"로 데이터를 전송

플러그인보다는 가장 직관적인 접근 방식인 것 같습니다

---

_[View the full topic](https://meta.discourse.org/t/is-a-theme-component-or-plugin-best-for-external-api-calls/364145)._
