Skip to content

Rationale behind making API v2 endpoints POST only? #1881

Closed Answered by gotson
shamoon asked this question in Q&A
Discussion options

You must be logged in to vote

The new endpoint needs a request body, which by REST standards cannot be passed in GET endpoints. Many API tooling will not allow to pass a body to a GET request.

It's standard practice to use POST for such queries that require a request body.

I think there's a RFC to create a new QUERY HTTP method that would basically work like a GET, but with a request body, but that's not standard yet.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shamoon
Comment options

@shamoon
Comment options

Answer selected by gotson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants