# 토픽 내에서 웹훅을 사용해 커밋을 답장으로 게시하기

**URL:** https://meta.discourse.org/t/post-commits-via-webhook-inside-a-topic-as-reply/156821
**Category:** Support
**Created:** [7월 5, 2020, 9:16오전 UTC](https://meta.discourse.org/t/post-commits-via-webhook-inside-a-topic-as-reply/156821 "2020-07-05T09:16:58Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![B-iggy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/b-iggy/32/201234_2.png) [@B-iggy](https://meta.discourse.org/u/B-iggy)
#### Post date: [7월 5, 2020, 10:16오전 UTC](https://meta.discourse.org/t/post-commits-via-webhook-inside-a-topic-as-reply/156821/5 "2020-07-05T10:16:51Z")

</div>

참고로, 데이터 필드 때문이 아니라 잘못된 CSRF 때문에 실패하고 있습니다.  
여기를 참조하세요:

> [@Improve BAD CSRF error message when making API calls with content-type application/json](https://meta.discourse.org/t/improve-bad-csrf-error-message-when-making-api-calls-with-content-type-application-json/117136):
>
> API requests with the Content-Type as “application/json” often receive an unhelpful message like “BAD CSRF”, so we should improve the error messaging so that it provides more details as to why they are receiving this error message.

@blake 헤더에 api\_username과 api\_key를 설정해야 한다는 뜻인가요?

현재 실패하는 진행 상황:

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

---

_[View the full topic](https://meta.discourse.org/t/post-commits-via-webhook-inside-a-topic-as-reply/156821)._
