parameter mapping1 [Spring] Request ์ด๋ ธํ ์ด์ (parameter mapping) Request๊ฐ ๋ค์ด์ค๋ ํ์ ์ ๋ฐ๋ผ ๋ฐ๋ ๋ฐฉ์์ด ๋๋๋ค. URI Query String body form @PathVariable @GetMapping( "/api/v1/customers/{customerId}") @ResponseBody public ResponseEntity findCustomer(@PathVariable("customerId") UUID customerId){ var customer = customerService.getCustomer(customerId); return customer.map(v -> ResponseEntity.ok(v)).orElse(ResponseEntity.notFound().build()); } URI ๋ณ์๋ฅผ ํตํด Request๊ฐ ๋ค์ด์ค๋ ํ์ http:/.. 2022. 12. 1. ์ด์ 1 ๋ค์