Skip to content

Allow other content-types besides application/json #142

@Roger13

Description

@Roger13

Currently, to allow other content-types which are not application/json we need to overwrite the incoming header so it pass the hardcoded logic. It would be great if we could defined the allowed values in the endpoint configuration.
Our current use case is the microsoft webhook, which need a endpoint to accept both text/plain and application/json: https://learn.microsoft.com/en-us/graph/change-notifications-delivery-webhooks?tabs=http#create-a-subscription

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions