```@RequestMapping(value = "/products/new/{token}"...
# spring
j
Copy code
@RequestMapping(value = "/products/new/{token}", method = arrayOf(RequestMethod.GET))open fun getNextProducts(@PathVariable token: String,
                             @RequestParam(required = false) limit: Int = 50): List<AkaneoProduct>