Strapi how get to single product in api tutorial # 5
Strapi how get to single product in api tutorial # 5
In this tutorial we will learn how to get single product via api.
You need to send get request from your api client.
[sourcecode]http://localhost:1337/api/products/:id[/sourcecode]you need to know id of the product or post
Let suppose id=1 so your reponse should look like this
Let suppose id=22 so your reponse should look like this[sourcecode]http://localhost:1337/api/products/22[/sourcecode]
and so on..