79107939

Date: 2024-10-20 19:58:06
Score: 1
Natty:
Report link

First of all your api is /api/public/categories but you are trying to request api/public/products

When you build your app and sending a get request from a browser like below you have to get success response.

enter image description here

The parameter name that you request must match the name field in the @RequestParam annotation.

Remove empty character inside of name field

@RequestParam(name = "Page_size", defaultValue = Appconstants.PAGE_SIZE,required = false) Integer pgsize,

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @RequestParam
  • Low reputation (0.5):
Posted by: Aytekin