'How to limit wordpress rest api response using query params?

I have tried, Websiteurl/posts? _fields=_links,id&_embed=wp:featuredimage.sourceurl

But it only gets the _fields in response and _embedded is missed with the response



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source