
@DeleteMapping(path = "/user/{userName}/delete")
public void delete(
@PathVariable String userName
){
log.info("user-name: {}", userName);
}
http://localhost:8080/api/user/seunghwan/delete
//above request logs the following:
user-name: seunghwan