Open ThanhIsHereee opened 3 months ago
@ThanhIsHereee can you check for me I have completed the view task
What if I remove type parameter, what is the result of API ? What if there is no value of search API, what is the error ? What if type is number, limit and page is negative ? => No Validate, No Error Message ? @BofNe
I have combined the view and sreach functions
What if i remove type, URL will be search?limit=50&page=1 Can It work @BofNe
@bentran1vn I would like to answer the question What if i remove type, URL will be search?limit=50&page=1 Can It work is: The api will return any 50 products without classification on one page
View List Products API is written for anyone to get the list of the products that have the same character in its name or type or material. return in ascending. request type :
return type :
list of products that have pagination Exception type :
the list was empty => throw NotFoundException