-
Hey team, I’m one of the homepage devs where we have a little “widget” that integrates with komga. I was looking at https://komga.org/docs/api/deprecation and noted the upcoming changes to eg I’m writing as I’m curious about this choice, I think it’s not so expected for a REST API endpoint that does not modify or really require any data. And of course I’m asking because it will require big-ish (bigger than most API changes) on our end as homepage intentionally tries to avoid making POST requests in its widgets. Of course, we can deal with whatever, and it’s your project (duh), but thought I’d ask. Hopefully no offense is taken from the question (none intended). Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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.