Skip to content

Throw if the api can't have a body#831

Merged
delvedor merged 3 commits intomainfrom
no-body
Sep 29, 2021
Merged

Throw if the api can't have a body#831
delvedor merged 3 commits intomainfrom
no-body

Conversation

@delvedor
Copy link
Copy Markdown
Member

As titled.

Closes: #830

Copy link
Copy Markdown
Contributor

@swallez swallez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

We do have endpoints that have a body and accept GET (like _search), but as they also accept POST, they will pass this validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants