flask-smorest icon indicating copy to clipboard operation
flask-smorest copied to clipboard

How can i create pagination for method POST

Open garu097 opened this issue 1 year ago • 1 comments

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!

garu097 avatar Oct 31 '23 12:10 garu097

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

lafrech avatar Apr 18 '24 19:04 lafrech

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.

lafrech avatar Jul 09 '24 20:07 lafrech