Spring Boot - REST Controllers
Examine the following Spring Boot POST method. What is the main issue that would prevent it from correctly receiving the
item value from the request body?
@PostMapping("/addItem")
public String addItem(String item) {
return "Item added: " + item;
}