DummyJSON
DummyJSON copied to clipboard
`limit` and `skip` support into `/products/category` endpoint.
First, thanks for this dummy JSON, It's nice to practice and testing some researchs for anything.
But I noticed a lack in the endpoint to get products from a category concerning limit and skip queries, it always returning just 5 records.
No matter if you're passing https://dummyjson.com/products/category/${category}?limit=10&skip=5 via fetch or axios.
Thanks in advance.
https://github.com/Ovi/DummyJSON/issues/50#issue-2137755297
Hey @mrcego, I see in your screenshot that you have set the skip to 0, which will not skip any products. Since there are only 5 products in that category, you see only 5 results.