Endpoint query to display the 3 latest data

Try this below query:

http://localhost:1337/api/posts?populate=*&pagination[limit]=3&sort[0]=createdAt:desc
1 Like