Consider supporting application/x-www-form-urlencoded as content type for webhook #166
Labels
[Component] API
Concerns REST API Endpoints, e.g. for incoming webhooks
[Type] Enhancement
New functionality
Milestone
Issue Overview
When using
application/x-www-form-urlencoded
and notapplication/json
as the content type for the incoming webhook you get the message{"result":"Not the default branch"}
.I'd expect another message if the content type isn't supported at all or, maybe be better, actually supported.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An better error message or a successful import.
The text was updated successfully, but these errors were encountered: