WP Rest API max limit include parameter?

I’m using the rest API to get only selected posts though Rest API. I have used include=<ids> parameter.

I have send the API request like:

http://example.com/wp-json/wp/v2/posts?include=11,12

It works as expected. But, What happen If there are 200+ post IDs.

The request like:

http://example.com/wp-json/wp/v2/posts?include=11,12,...,200

What is the max limit for include parameter? I have used the POST method to get the posts.

0

Leave a Comment