Rest-API V2 How to load specifiv Posts by ID?
<p>I am using</p>

<pre><code>$.ajax({
  url: 'http://localhost/wordpress-dev/mi/wp-json/wp/v2/cpt/',
  type: "GET",
  dataType: "json",
});
</code></pre>

<p>to load posts of a custom post type.</p>

<p>I have an array with ids and i need to modify the url to load only the posts with this ids. How is this possible?</p>

<p>something like:</p>

<pre><code>url: 'http://localhost/wordpress-dev/mi/wp-json/wp/v2/cpt/1&amp;2&amp;3
</code></pre>

<p>thanks alot for any help!</p>