Complete the handler description

Report a typo

Choose the missing parts of the method description below :

Java
@PostMapping("/products/{id}")
public void addDescription({1} int id, {2} String description){
    strings.add(id, description);
}
Kotlin
@PostMapping("/products/{id}")
fun addProduct({1} id: Int, {2} description: String) {
    productMap.add(id, description);
}
Select one option from the list
___

Create a free account to access the full topic