marshmallow-code / flask-smorest

DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
https://flask-smorest.readthedocs.io
MIT License
639 stars 72 forks source link

How can i create pagination for method POST #575

Closed garu097 closed 3 weeks ago

garu097 commented 9 months ago

Because my api too many queries so i want to change method from GET to POST and use it only in request body. But it seems like @blp.paginate() not support Any help is appreciate. Thanks!

lafrech commented 3 months ago

I'm sorry I don't understand what you are trying to achieve.

lafrech commented 3 weeks ago

Oh, I get it. Your resources involves many query arguments and you want to use POST to pass them in body instead.

I don't think there's anything preventing the use of paginate on POST requests.

Closing this for lack of feedback. Feel free to reopen with details about what exactly fails.