Spring Boot - REST Controllers
Analyze the following Spring Boot controller method:
What will be the response when a client accesses
@GetMapping("/invoice/{invoiceId}")
public String showInvoice(@PathVariable String invoiceId) {
return "Invoice Number: " + invoiceId;
}What will be the response when a client accesses
/invoice/7890?