spring boot routing examples
Example: spring boot routing examples
@RestController
public class OrderController {
@RequestMapping(value = "/customers/{cid}/orders/{oid}", method = GET)
public Order getOrder(@PathVariable int cid, @PathVariable int oid) {
...
}
}