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= 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.

Read more here:: WP Rest API max limit include parameter?

Leave a Reply

Your email address will not be published. Required fields are marked *